Two plugins that allow you to create configurable triggers for events:
This plugin lets you bind key down/up triggers for any input event. It supports keyboard, mouse and VR controllers.
Collision Triggers
This plugin lets you bind collision triggers for individual parts of an atom, such as a person's upper arm or glutes.
You can exclude collisions within the same atom, e.g. a person's hand touching their own body, and set a threshold for the required impact velocity, for example to create glute slap triggers.
Example use-case
By combining both plugins with a state machine, this demo toggles the lights on/off after grabbing her shoulder/upper arm for one second. This is the exact logic I will use to trigger intensity decreases in an upcoming update to The Grind Of Your Life.
The video highlights two negative cases at the beginning. Nothing happens if you grab before entering collision and nothing happens if you exit the collision early, either. At the end, you can see that collisions with other body parts are ignored, as well.
The message log shows the exact timing and order of events.
Credits
Special thanks to MacGruber for his Utils
- Input triggers: react to keyboard, mouse and VR controller inputs
- Collision triggers: react to collisions between specific parts of atoms.
You can select rigidbodies and individual colliders (e.g. left shoulder or glutes)
This plugin lets you bind key down/up triggers for any input event. It supports keyboard, mouse and VR controllers.
Collision Triggers
This plugin lets you bind collision triggers for individual parts of an atom, such as a person's upper arm or glutes.
You can exclude collisions within the same atom, e.g. a person's hand touching their own body, and set a threshold for the required impact velocity, for example to create glute slap triggers.
Example use-case
By combining both plugins with a state machine, this demo toggles the lights on/off after grabbing her shoulder/upper arm for one second. This is the exact logic I will use to trigger intensity decreases in an upcoming update to The Grind Of Your Life.
The video highlights two negative cases at the beginning. Nothing happens if you grab before entering collision and nothing happens if you exit the collision early, either. At the end, you can see that collisions with other body parts are ignored, as well.
The message log shows the exact timing and order of events.
Credits
Special thanks to MacGruber for his Utils
There's always the next HMD and they'll only get better and more affordable. ;-)