05-09-2018, 02:51 PM
I'm basically putting a camera on rails with Curvy and I want to use it for the path direction, but for the Y position I want it to be grounded to the terrain.
I've had a bit of success having a raycaster be applied on Update() that checks where the floor is, then adjusts the Y.
But I feel like this is redundant. Afterall, Curvy is already adjusting the transform, and what I'm doing is basically overriding the change Curvy JUST made.
Is there a setting somewhere that can have it check this? Or how would you recommend I solve this problem efficiently?
Thanks for the support!
I've had a bit of success having a raycaster be applied on Update() that checks where the floor is, then adjusts the Y.
But I feel like this is redundant. Afterall, Curvy is already adjusting the transform, and what I'm doing is basically overriding the change Curvy JUST made.
Is there a setting somewhere that can have it check this? Or how would you recommend I solve this problem efficiently?
Thanks for the support!