- Home /
Question by
Allegro · Apr 29, 2014 at 02:30 AM ·
iphoneaddforceridgidbody
rigidbody2D.AddForce() not working on iPhone
I tried the following line of code in both Update() and FixedUpdate()
rigidbody2D.AddForce(new Vector2(0, 1000));
This works fine on my PC and Mac builds, but when I put it on my iPhone is does not work. Is there something else I need to do to get this to work on an iPhone?
Thanks
Comment
All the duplicate questions with similar keywords were fixed by using FixedUpdate or different force numbers (try something larger than 1000 and see if it's moving perhaps slowly)
Your answer
Follow this Question
Related Questions
Add impulse force using input.touch 0 Answers
Jumping to high 0 Answers
Unity iPhone: AddForce to Object after Touch 0 Answers
making perpetual movement 1 Answer
Rigidbody Player AddForce issue 2 Answers