Question by
ravan333 · Jan 29, 2017 at 03:09 PM ·
space shooter
player is not moving
i am in the fifth step of the space shooter tutorial, i am not able to move the player even though the code is correctly written.
capture1.png
(13.1 kB)
Comment
Answer by Glurth · Jan 29, 2017 at 05:35 PM
I think`MonoBehavior.rigidbody` has been depreciated. Try using GetComponent< RigidBody >() instead. https://docs.unity3d.com/ScriptReference/Component.GetComponent.html
Your answer
Follow this Question
Related Questions
Where to find tutorials on 2d Movement in restricted space in a 3d Space Shooter 0 Answers
space shooter power up 2 Answers
The player ship in space shooter is not moving 0 Answers
space shooter in Unity 5 issue 0 Answers
Enemy ship frozen in Z 1 Answer