Download

Reusable Trigger: Choosing the shape

Hey guys!

I want to create a reusable trigger blueprint that, upon entering, will do something to the player (eg. teleporting them to a point)

I want the blueprint itself to handle the collision but I want the level designer to be able to choose the shape of the trigger (a box, a sphere etc.)

How do I do that?

Thanks!

Robert

Hello! Maybe you could use some bools that are public.
“Sphere” =true > set collisionsshape sphere, set “box” false
“Box”=TRUE> set collisionsshape box , set “sphere” false

but there might be a node as for staticmeshes “set static mesh” but for collisionshapes.