11-17-2019, 06:01 PM
Hi
First of all, sorry for the late answer. I did answer you shortly after you posted your question, but it seems that because of some internet issues in the city I live at, it seems that my answer was not successfully send.
What you can do is to use a collider to trigger events, and add a Spline Controller to said collider to make it positioned on the spline. This way, even if you modify the spline, the trigger will stay at the same distance/TF on the spline.
More about Unity's triggering
https://docs.unity3d.com/ScriptReference...Enter.html
https://docs.unity3d.com/Manual/class-BoxCollider.html
Was my answer useful?
First of all, sorry for the late answer. I did answer you shortly after you posted your question, but it seems that because of some internet issues in the city I live at, it seems that my answer was not successfully send.
What you can do is to use a collider to trigger events, and add a Spline Controller to said collider to make it positioned on the spline. This way, even if you modify the spline, the trigger will stay at the same distance/TF on the spline.
More about Unity's triggering
https://docs.unity3d.com/ScriptReference...Enter.html
https://docs.unity3d.com/Manual/class-BoxCollider.html
Was my answer useful?
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.

