- Home /
Question by
BlueExtremeGames · Oct 10, 2012 at 10:58 PM ·
rigidbodytransformcarfly
I do not want to fly a car
http://www.youtube.com/watch?v=pKEcmUPFJbY
the persistance of my project where I need the car. How can I do?
My Code: var x:Quaternion; var xd : GameObject; var forge:ForceMode; var vektor:Vector3;
function FixedUpdate() {
if(Input.GetKey(KeyCode.W))
rigidbody.AddForce(vektor,forge);
Debug.Log(rigidbody.velocity.x.ToString);
}
Comment
Your answer
Follow this Question
Related Questions
how do i make this lag less? 1 Answer
Animation or smooth teleportation 0 Answers
My car is being sporadic... 1 Answer
Best way to move a character in a 2d platformer? 1 Answer
Turning Rigid body currently in contact with ground. 1 Answer