Description
The Propel Object behavior will apply a force so that two selected objects move away from each other.
This behavior will trigger an event immediately.
Properties
Triggers Immediately
Object A |
This is one of the objects you want to propel. |
Object B |
This is the second object you want to propel. The default properties will result in this object moving away from Object A. |
Anchor |
This is the specific X and Y location on the objects where the the force will be applied. Eg, the hand. on your character. |
Force X |
This is the amount of force to apply to each object. Force is measured in newtons. |
Object A Multiplier |
This will multiply the force on Object A away from Object B by a specified amount. |
Object B Multiplier |
This will multiply the force on Object B away from Object A by a specified amount. |
Outputs
Object A ID |
This outputs the Object ID of Object A. |
Object B ID |
This outputs the Object ID of Object B. |
Examples
You can use this to simulate an explosion so your object moves away from each other. When used with tags, you can move multiple objects away from Object A which would be the center of the explosion.
0 Comments