Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Walking on the Terrain
#1
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!
Reply


Messages In This Thread
Walking on the Terrain - by mythstified - 05-09-2018, 02:51 PM
RE: Walking on the Terrain - by _Aka_ - 05-09-2018, 04:01 PM
RE: Walking on the Terrain - by mythstified - 05-09-2018, 05:14 PM
RE: Walking on the Terrain - by mythstified - 05-09-2018, 07:43 PM
RE: Walking on the Terrain - by _Aka_ - 05-09-2018, 09:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Conform to terrain in play mode ? Philkrom 3 11 08-27-2022, 11:04 AM
Last Post: _Aka_
  2D Terrain Question monotonic 5 1,981 01-01-2021, 07:32 AM
Last Post: _Aka_
  Snap to terrain sebjwallace 1 1,258 04-29-2020, 08:41 PM
Last Post: _Aka_
  Road, LD & terrain UsernameHed 2 2,472 08-13-2019, 11:38 AM
Last Post: UsernameHed

Forum Jump: