Hi all
i import an fbx model.
but seems its axis dont correct.
when i press “w or d or s or a” my character rotate 90 degree and walk.
for example:
i press “w” then my character look left and walk forward.
i press “d” then my characer look forward and walk right.
in this picture i press w and walk forward but look left.
Thankful.
Parent your controlling object to an empty game object.
Attach your controlling script to that new game object instead of where it is.
Rotate your character so that it faces the correct way when you press a direction.
Update references in the controlling script to think of the new object as the player.
i remove rigidbody and charactermotor and platform input controller from character and create an empty object then drag my character to it then it is children of that empty object.
i add charactermotor and platform input controller to gameobject but my character have not animation.
how correct this?
Thankful.
Whatever is animating your character has lost its reference to the Animation component. You need to reassign it, either through the Inspector or by using GetComponentInChildren( Animation ) in a Start or Awake function.
i dont good understand what must i do.
my character must have animation component or gameobject must have animation component?
Thankful.