05-18-2017, 02:23 AM
(This post was last modified: 05-18-2017, 02:28 AM by CharlesCox.)
Hello,
I am using curvy move a character (RED Box) on a spline, while the player chases it. I need to have the character stay at a fixed distance ahead of the player. The player is a rigidbody, but I am using the spline controller for the chased character. I can control the speed of the chased character but I need to figure out a way to control the velocity/speed so I can offset it to stay ahead of the Player. I am trying to figure out how the spline controller moves the character but I am having a hard time.
I am using curvy move a character (RED Box) on a spline, while the player chases it. I need to have the character stay at a fixed distance ahead of the player. The player is a rigidbody, but I am using the spline controller for the chased character. I can control the speed of the chased character but I need to figure out a way to control the velocity/speed so I can offset it to stay ahead of the Player. I am trying to figure out how the spline controller moves the character but I am having a hard time.
![[Image: Chase_Test_002.gif]](http://charleslcox.com/images/Chase_Test_002.gif)