Generate overlap without generating events
Hello, I'm trying to create a car vehicle destruction by using morph targets. Basically, I'm using box collision and when it overlaps with another object it should change the value of the morph.
Everything works good, but the problem here is that I need to tick "Generate overlap events" In almost every single object in the whole environment, so that the vehicle can overlap with it and fire the "on overlap event".
Is there another way to get that done? for example to just have an event like "on collision with any object".
asked Oct 20 '18 at 12:59 PM in Blueprint Scripting
That is probably not a.bad way to go actually.
But it might be more useful to set a collision type and collision channels on each object because a blocking collision hit will alsongive you info such as what location was hit and at what angle. And it also automatically blocks the movement or bounces off.
If you find it tedious to do this on every object in the world you can do a couole of things
1 select multiple placed objects and edit them all simultaneously. I think there is an option to do this in the right click menu called property editor or properties table or something. And Maybe you can just edit them all at once when multiples are selected from the World Outliner pane by setting the values in the Details Pane the same as you do for a single selected object that was placed in the world.
2 or you can create a bluprint class when you can select the static mesh of the object and it has all the collision settings the way you want it by default.
Maybe one of those ideas can speed up your workflow.
answered Oct 20 '18 at 03:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here