Character Controller Move function Explanation
Hiya, looking for a deeper explanation of the Move function that is apart of Character Controllers.
I have a game where entities with character controllers exist in the world, not calling the Move function. When a "call" is made their transform position is changed to a new one and they start calling the move function at the end of update.
The problem I'm having is the character is placed at that transform, but is then immediately teleported back to its original transform position, before the call was made. I have checked this and it is because the Move function gets called. Even worse is sometimes, the entity does not teleport back to its original position. I think it's something to do with when it is called in update
Here is a simplified version of my Update function. the update function, velocity when placed is (0, -0,5, 0)
for context, here is the function that enabled and sets the new position of the entity
Your answer
Follow this Question
Related Questions
i'm using a code to make my cube walk with character controller but when i play the cube spins. 0 Answers
i am using a code to make my cube walk with character controller ,but when i play the cube spins. 0 Answers
Vector3.Distance returning offset values due to down force interference. 1 Answer
CharacterController.Move isn't setting collision flags 1 Answer
How can I adapt this character controller movement script to allow movement in mid air? 0 Answers