- Home /
Question by
cuongkimh4 · Jan 31, 2013 at 09:54 AM ·
directionforce
Change direct force?
Hello, Sorry my English. I want to ask about the force. Two gameobjects are collisions and they are create 2 forces in 2 object with their direction. So can i change the direction force? Example: i don't use Y direction but i want X,Z direction.
Comment
In addition to freezing the force for a specified axis, you can directly change the velocity. See Rigidbody.velocity.
Answer by Berenger · Jan 31, 2013 at 09:56 AM
Rigidbody have flags to freeze an axe or several, if that's what you mean. See http://docs.unity3d.com/Documentation/Components/class-Rigidbody.html, at Constraints.