Hello everyone. There is a ball with Havok physics with the starting position Vector3(0, 0.3, 0), the player applies momentum to it (without physics yet), and when the ball flies into the goal and flies out of the ground, according to the laws of physics, it naturally flies down. After 2 seconds, I want to set the ball back to its starting position Vector3(0, 0.3, 0), to continue the game after a goal, through ball.position, but it doesn’t work. The ball position is not updated, it also continues to fall along Y. How can I update the position? Do I need to update the ball physics? If so, how?
if I use ball.physicsBody.disablePreStep = false, then how correct is it in my situation?
Well done. That’s the answer.