Prevent Control Rig from penetrating ground

Hi all,
this might seem like a very simple question, but I simply have not been able to find an answer to this.
I made a control rig for a vehicle. Works great on flat surfaces. However, as soon as I parent it to a spline going over uneven terrain, it of course keeps going straight, ignoring the points on the ground.
In Blender, it’s an easy thing. Use “project” modifier for the ground contact point. In Unreal… I’m lost. What’s the best way to go about this? Do I do something in Control Rig? Or in Animation BluePrint?
My goal: Animate vehicle along curve, have wheels pick up slight elevation changes in ground (pebbles, bumps, etc) without me having to hand animate every single item.
What’s the best way about it?

Thank you very much in advance!

1 Like

Hi,
Have you tried using line trace to determine the location of the wheels?

Thank you for the tip, Polysiens.
Line Trace doesn’t seem to exist in control rig, but sphere trace does. Trying to figure out how to do that now.
My bigger question, however, is if the control rig in and of itself capable of having surface detection capabilities or if I need to pair it with a construction or event graph and blueprints to do that?

1 Like

Hi! I’m trying to achieve this too, did you manage to figure out how to do it?