Z
Z
zhusip2017-06-11 15:29:51
Game development
zhusip, 2017-06-11 15:29:51

How to create a character control?

I have a 3d character with animations. I used the button from the standard assets. I used the navigation script from the source of Survival Shooter. But when I move the button the character moves but doesn't rotate. I want to make a movement with turns ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
/
/ "BRO TIGER", 2017-06-15
@zhusip

I understand you are new to programming ... Firstly, what kind of camera? Orthographic and 3rd Person or Perspective 1st/3rd Person? If the camera is like in Don't Starve, then just make a MouseLook in which the mouse will rotate the player along the y axis ... If from the first one, then create a regular MouseLook ... If you do not understand and or find it difficult to do something like this, then in the script from Survival Shooter's source code mentions the tag "Floor" and further down there is something similar to MouseLook... Just add the tag in the "Floor" editor and it will work...
------------ -------------------------------------------------- -------------------------------------------------
My advice: Before you develop a game, learn programming... Yes, you can't wait to create your idea, but refrain, because this study will help you in the future...
Good luck!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question