Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to move rigid body at constant speed using rigidbody.MovePosition()?

$
0
0
This is my first time posting a question here. Hopefully someone can help with the problem I am having. So I have an NPC that the player is supposed to race in the game. The NPC runs on a kinematic rigid body movement. It's path is already predetermined with no real AI adjusting to the player. Essentially, I want it to follow a path and complete it in a fixed amount of time. I would have used the MoveTowards() function, but for some reason the Cinemachine camera makes the sprite stutter when...

How to move rigid body at constant speed using rigidbody.MovePosition()?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>