- Home /
Question by
Power_Maker · Feb 16, 2018 at 11:28 AM ·
addforcenan
NaN error when adding force to direction of near object
To move my character I use addForce(-100, 0, 0) or addForce(100, 0, 0) I won't explain this just watch this video: http://www.mediafire.com/file/ch8otkq3yqpwcst/VID_20180216_120736.mp4
nan.png
(15.3 kB)
Comment
Without seeing your code it's quite hard to know what's happening.
Your answer
![](https://koobas.hobune.stream/wayback/20220612152735im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mistake in Function with Collision and AddForce 0 Answers
2D Rotate towards GameObject acting odd. 2 Answers
Player Follow Function 2 Answers
Applying random forces to all instantiated gameobjects 1 Answer