The Explosive Force emits a force explosion at the Node's location when executed. The force is stronger at the center and becomes weaker depending on the Radius and Max Force Radius settings.
Parameters are accessed by selecting the Explosive Force component.
|Execute||Executes the component.|
|On Start||Executes the component at the start of the Hype.|
|Always||Executes the component on each frame.|
|Enabled||Determines if the component is executable.|
|Force||Explosion force amount.|
|Radius||Radius for the explosion. No force is applied outside of this radius.|
|Max Force Radius||Radius for the maximum force from the center. Outside of this radius the amount of force decreases until it reaches the Radius.|
|Max Speed||Maximum speed applied by the force.|
|Group Filter||Select the Object Groups you would like to be affected by the Explosive Force.|
Set-Up: We have a barrel surrounded by various objects. The barrel is already set up with Physical, Collision Trigger, Destroyer and Particle Effect Nodes so that it visibly explodes when hit. The objects surrounding the barrel already have a Physical component set to Dynamic Physics so that they can react to outside forces. We need to apply an explosive force so that items near the barrel are pushed away when it explodes.
Step 1: Add an Explosive Force node to the Explosive Barrel.
Step 2: Set up the Explosive Force
Step 3: Trigger the Explosive Force. Our barrel already has a Collision Trigger that executes the Particle Effect and Destroyer. We'll add the Explosive Force to be triggered On Collision Start with the other two components.
Now we test. If all is well our barrel will explode, pushing away the surrounding objects when it is struck.
Here's a link to the hype that shows how to implement and use the Explosive Force node: