ActorLineTraceSingle() returning inaccurate hit result
Hi, I'm trying to align a spline onto the surface of a landscape by using landscape->ActorLineTraceSingle() to get the Z location on the landscape at all the spline points. However, though all the spline points are near the surface of the landscape, most of the spline points are not exactly on the surface. Is this supposed to happen or am I doing something wrong?
The following is the code I'm using.
asked Jan 07 '16 at 09:58 AM in C++ Programming
Not an expert with landscapes...but I wonder if the collision geo doesn't always match the render geo? Can you turn on collision debug and see if the points are landing there?
answered Jan 07 '16 at 05:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here