07-26-2024, 09:57 AM
Hi,
When the Curvy Spline controllers compute where an object should be place, they move the object using either (depending on the value of the Target Component setting):
I am not familiar with the starter asset's FPS character controller, so I can't give advise specific to it, but the solution I thought of is to make the character a child of the train. This way moving the train moves the character too, and the character controller moves the character relatively to the train.
I hope this helped. Let me know if you have further questions.
Have a nice day
When the Curvy Spline controllers compute where an object should be place, they move the object using either (depending on the value of the Target Component setting):
- Transform.SetPositionAndRotation
- Rigidbody.MovePosition
- Rigidbody2D.MovePosition
I am not familiar with the starter asset's FPS character controller, so I can't give advise specific to it, but the solution I thought of is to make the character a child of the train. This way moving the train moves the character too, and the character controller moves the character relatively to the train.
I hope this helped. Let me know if you have further questions.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

