Line trace trouble (maybe)

I’m trying to realize the mechanics of construction and I need to keep the object from falling under the ground, for this I use Line trace, but at some moments the object starts to jerk frantically, how to fix it? Or have I chosen the wrong approach?

1

What might be happening is the trace is hitting that character? And the idle animation is making the hit oscillate between floor and character.

You can either put objects in collision channels or use the inputs to line trace to ignore specific actors.

1 Like

Not really, but you were close and gave me the right thoughts. I forgot to add the spawned object to the ignore array. For some reason I thought Ignore Self was what I needed and only then realized it was referring to the ray, not the spawned object lol. Thank you for your help Shmoopy1701!

Then
1

Now
2

Changes

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.