Logic Gadgets: Force Applier

Icon
Name of gadget Force Applier
Section Movers & Outputs
Number of Tweak pages 3
Author LadylexUK, QuietlyWrong
Last updated 07 June 2019 [EA v1.03]

Description

This gadget will cause an object to be expelled, pushed or pulled within its area of influence. You would use this for explosions, wind effects or tractor beams. The force applied can be directional or radial. The force exerted is continuous while the gadget is powered on so if you want a sudden explosion, you’ll have to send a short pulse of power to the gadget.

Example Tutorial (adapted from Media Molecule)

  1. Stamp a small cube.
  2. Tweak it to make it moveable
  3. Clone it 6 times.
  4. Place a force applier in your scene
  5. Tweak the force applier and make force type directional.
  6. Make sure the zone area includes the shapes.
  7. Point the gizmo in the force applier in the direction of the shapes.
  8. Hit start time
  9. Experiment with the settings of this gadget to see the affects of pull and radial.

Tweak Menus

Click on arrows to reveal

Tweak Menu 1: Important Properties & I/O

[screenshot from beta; v1.03 identical]

  1. Tweak Menu page 1: Important Properties & I/O
  2. Force Strength
    2a. Input
    2b. Output
  3. Force Speed
    3a. Input
    3b. Output
  4. Force Speed on Strokes
    4a. Input
    4b. Output
  5. Force Mode
  6. Force Type
  7. Target Position
    7a. Input
  8. Applying Force
    8b. Output
  9. Local Space
    9a. Input
    9b. Output
  10. Power
  1. Menu page indicator
  2. Force Strength
    Use this to set the continuous strength of the force. Regardless of the speed you choose, the strength determines the ability of the force to displace any objects in its path, so a weak force is particularly ineffective against heavy objects whereas a strong one is great for full-blooded explosions.
  3. Force Speed 
    This is where you set the target speed in metres per second. Depending on the strength of the force, heavier objects may not get very close to this speed but as a rule, a higher setting will move objects faster.
  4. Force Speed on Strokes
    Sculptures and Paintings react a little differently to the Force Applier, with the strokes of a Painting flapping around as they are subjected to the force. It’s possible to make a force act on the painting strokes only – set the Force Speed to zero but have a speed for the strokes alone – and in this way you can make flags, hair, etc. flap around in a breeze without anything being moved from its spot.
  5. Force Mode
    When the force type (6) is set to Radial, this is more useful, specifying as it does whether the force acts to push or pull objects away from or towards the gadget’s target point. When set to Directional, it matters less, as it’s simply the equivalent of rotating the force direction by 180º.

    • Push – great for explosions and force-fields
    • Pull – good for tractor beams or black holes
  6. Force Type
    • Radial
      When set to Radial, the force applier has a handle gizmo that specifies a central target position at which the force acts, whether to expel objects away  or to suck them inwards. The force acts equally in all directions within the gadget’s zone.
    • Directional
      When set to Directional, the force applier’s handle gizmo can be used to specify the direction in which the force acts; position within the zone is irrelevant. This is useful for such effects as wind, or acceleration pads in racing games.
  7. Target Position
    Input a fat wire carrying location data from another gadget (e.g. a tag’s scene space transform? TBA) to change the position of the force applier’s target (in Radial mode only).
  8. Applying Force
    This outputs a signal when the gadget is exerting a force (and by extension when there is a moveable object within its zone to exert a force on? – QW TBA).
  9. Local Space
    By default, gadgets operate with the global axes shared by all objects in the scene. Activate this instead if you prefer the force applied to be relative to the orientation of the gadget itself.
  10. Power
    This is where you turn the gadget on/off
Tweak Menu 2: Zone Size

[screenshot from beta; v1.03 identical]

  1. Tweak Menu Page 2 : Zone Size
  2. Zone Shape
  3. Zone Size
    3a. Input
    3b.Output
  4. Zone Falloff
    4a. Input
    4b. Output
  5. Power
  1. Menu page indicator
  2. Zone Shape
    Choose the area shape that will be affected by this gadget, or you can choose the whole scene. Select between:

    • Sphere
    • Cuboid
    • Cylinder
    • Cone
    • Ellipsoid
    • Whole Scene
  3. Zone Size
    Use the slider(s) (depending on chosen shape) to determine the size of the area that this gadget will affect. You can also drag the boundaries of the zone directly in the scene.
  4. Zone Falloff
    Use the slider to determine a falloff area outside the affected zone. Within the falloff zone the force applied is steadily reduced away from the main zone.
  5. Power
    This is where you turn the gadget on/off.

 

Tweak Menu 3: Labels
Force Applier 3
  1. Tweak Menu Page 3 : Labels
  2. Detection Mode
  3. Match Mode
  4. Detect Labels
    4a. Input
  5. Power
  1. Menu page indicator
  2. Detection Mode
    • Objects that are visible
    • Objects that are hidden (invisible)
    • Objects that are visible or invisible
    • Objects that are collidable
    • Objects that are not collidable
    • Objects that are either
  3. Detect Labels Match Mode
    • Any (find objects that match any of the below labels, can match any or all)
    • All (find objects that have all the below labels (must match all) (unlabelled is disabled)
  4. Detect labels
    These labels can be set in each object, element or group or shape and can be used here to determine which objects are subject to the force being applied by the gadget. By activating some but not others you could make a forcefield that pushes back some objects such as the player while allowing others such as baddies to pass unhindered.

    • Friend
    • Foe
    • Scenery
    • Object
    • Machine
    • Weapon
    • Missile
    • Target
    • Unlabelled
  5. Power
    This is where you turn the gadget on/off.

Lex Tips

Useful Tutorials

The How to make an exploding rock tutorial includes (among other things) the use of a force applier to make fragments of a rock explode in all directions.

Beginners guide to the Force Applier

Version Updates

v1.03 – cosmetic change to weapon label

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: