-
Notifications
You must be signed in to change notification settings - Fork 65
Simulation
The unity collision detection system can be used to trigger MIDI events.
There are collider components for all the basic shapes Box Collider, Sphere Collider, Capsule Collider etc. For custom meshes you can use a Mesh Collider.
The Collider Input Klak node issues events when objects collide or makes contact with triggers.
Unity features a dynamics simulation system. Just attach a Rigidbody component to any 3D object you want to have participating in the simulation. Global dynamics simulation settings can be edited in the Physics settings (Edit > Project Settings > Physics).
To influence the dynamics simulation with a Klak patch use the Rigidbody Out node.
Use the Transform Input node to track changes to the position and rotation of a rigidbody, and patch to e.g. Knob Out nodes.
-
Controlling visuals
-
Visual effects
-
Controlling a synth