Description
The Detach Object behavior will detach the selected objects when they have been physically attached using one of the other "attach" behaviors.
This behavior will trigger an event immediately.
Properties
Triggers Immediately
Object A |
This is the object you want to detach. By default this is the current object selected. You can change this to any other object in your scene. |
Object B |
Another object in your scene to detach from. If Object B is left blank then Object A will detach from all attached objects. |
Outputs
Object A ID |
This outputs the Object ID of Object A. |
Object B ID |
This outputs the Object ID of Object B. |
Examples
If you've built a physics car, and used pivot attach to attach the wheels to the body, you can make the wheels come off by using the detach object behavior.
Related
0 Comments