Hi guys!
So I tried to animate my own character as an enemy so he can jump whenever he moves… however when i start the game he directly teleports halfway underground and is facing backwards… I am so confused… I haven’t touched the codes, i only switched the ram with my character…
Hi,
I think its in your animation then, it probably contains values for the Y position and rotation.
I thought the same… but when i duplicated 2 other characters (this time without the codes, they stood just in one place) they faced the right direction I put them to… which was left and right… the characters under them are all having the codes and are facing backwards…
Hi Krokokeks,
Could you share a screenshot of the enemy in the Hierarchy?
I don’t know what you did but it is advisable to move the parent game object via code and animate the children only. You could move the mesh to the child game object. The position (pivot point) of the parent should be aligned with the top surface of the waypoint. Then animate the character relative to the parent position.