My bad did not update my code here but In my updated code I already change it. to px, py and pz
Can you share your project again with me please, so I can take a look?
I also update the public server here.
Currently the project is starting with some unrelated errors, so you need to fix these first.
sorry wrong project, my bad
I think the reason for this is that your character controller is not rotating the same entity. So you need to check which entity the character controller is rotating and use the values of that entity instead.
This will be more complex, because you teleport the entity to a new position and probably not exactly at real time. What I mean is that you currently don’t move an entity over time to it’s new position. You will have the same issue with setting the position. (Your anim state graph is probably also not getting the right values to play the right animation, because you don’t use the character controller for this entity).
Thank You will double check and update you again. Thank you so much