Adding sphere collider doesn't generate overlap events

I am trying to add a sphere collider to my player and generate overlap events from it. However, once I add the collider and position it correctly no overlap events happen is there a setting that I am missing after I add the collider to the mesh?

Here is the macro I am using to create the mesh - I set the hidden in game to false to make sure the collider was being created and placed properly

Here is where I am calling the macro

And here are the two overlap event that don’t trigger once the collider is added

I am sure I am just missing some settings that I need to turn on once I create the collider but I don’t know which one. Thank you for any help :slight_smile:

why you want to create the sphere collider on runtime?

anyway…

also if you have N runtime created sphere colliders and want to trigger an overlap for each you can drag from the EVENT red square of the binding and CREATE EVENT…and select ‘create matching function …’ and then you will have a function that will trigger each time a spere collider you created overlaps.

image

image

2 Likes