Spline line component collision?

I have bp with many different spline components which representing solar system orbits and it would be super nice if i can get to work spline component generate overlap events but for now collision is not working. Non of spline component events are firing.
I need continuous spline line points detection and i have tried to add sphere collision to each one of them but that solution is making issues with points detection priority when points of different spline lines are at the same place.

If you’re representing the splines with Spline Mesh Components (you surely visualise the orbits somehow), you can hit those. By default, the SMCs have no collision, it needs to be enabled:

As you add them, bind their Hit Events (or any other event) and the delegates will deliver:


Afaik, you can’t interact with a spline component itself.

1 Like

Thanks for your reply! Definitely will try that. But why then spline component have those events available in details section?

But why then spline component have
those events available in details
section?

Leftovers inherited from a parent component?

If you look at the Spline component’s details panel, you’ll notice there’s no collision to set up (unlike a Static Mesh Component, for example). Spline is a data container - a path along which data is defined and interpolated.

You can then position meshes, actors, particle systems, widgets along it - these are the interactive elements. And, most importantly, splines generate tangents allowing you to deform Spline Mesh Components.


This thread has a bunch of weird examples:

And this thing should be quite relevant despite being 4yo - it has orbits, planets and whatnots:
https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/81320-solar-system-simulator-generator

That what i thought.Thanks again!