Question Plugin dev: creating Trigger objects & assigning actions (scripting question)

bumblebaetuna

Member
Messages
44
Reactions
12
Points
8
I'm trying to create a collision trigger, but I don't understand how the different trigger objects work together -- CollisionTrigger, CollisionTriggerUI, Trigger, etc...

Can someone demonstrate (or point to a plugin that does) how to instantiate a collisiontrigger/trigger, assign it a collider like the VR hands, then create an actual trigger action and add it to the list -- discreteActionsStart/End I'm guessing? Honestly an example plugin already doing this is probably the best, but I can't think of one.
 
Back
Top Bottom