![]() ![]() If you hover over each of the variables, you should be able to see which variable is equal to zero. To debug this problem in the future, try inserting a breakpoint at the problematic line and attaching your IDE to Unity. Forward will always be the Z vector of the object after rotations have. Try changing Update() to FixedUpdate() if you do this you will need to use Time.fixedDeltaTime instead. Forward using global forward instead of local.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |