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. |
Explosive Barrel
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.
https://wiki.hypehype.com/nodes/action/explosive_force/example_no_force.mp4
Step 1: Add an Explosive Force node to the Explosive Barrel.
https://wiki.hypehype.com/nodes/action/explosive_force/add_force_node.mp4
Step 2: Set up the Explosive Force
https://wiki.hypehype.com/nodes/action/explosive_force/force_value_compare.mp4
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.
https://wiki.hypehype.com/nodes/action/explosive_force/link_trigger_to_force.mp4
Now we test. If all is well our barrel will explode, pushing away the surrounding objects when it is struck.
https://wiki.hypehype.com/nodes/action/explosive_force/final_results.mp4
Here's a link to the hype that shows how to implement and use the Explosive Force node: