- Home /
Is there a script for moving a rigidbody without using a character controller?
Does anyone have a script for rotating and translating a rigidbody without a character controller. I have one that rotates it but that is all. I need it to be controllable like a car. It needs to rotate on the Y and translate along the X and Z.
Answer by GesterX · Feb 08, 2011 at 07:14 PM
All the functionality of a RigidBody is described in the Unity Scripting Reference:
http://unity3d.com/support/documentation/ScriptReference/Rigidbody.html
Functions such as AddForce can be used to move a rigid body in the desired way.
If you are new to Unity and scripting then I suggest you look at the tutorials located here to learn what you need to know to create some basic gameplay:
Your answer
Follow this Question
Related Questions
car water floating script help. 2 Answers
Aircraft controller script 2 Answers
How can I make a jet script? 0 Answers
My car dont move 1 Answer
How do you move a rigidbody by a vector3 relative to itself? 1 Answer