Logic Gadgets: Grab Sensor

 

Icon
Name of gadget Grab sensor
Section Sensors & Input
Number of Tweak pages 1
Author LadylexUK, QuietlyWrong
Last updated 20 Apr 2019 [EA]

Description

This gadget allows you to detect when the imp interacts with objects in a scene. The object’s physical properties determine whether or not an item can be moved by an imp, but this gadget allows you to read that “grabbing” in order to turn drive other logic, such as turning on a light. This gadget also allows “hover” effects that output a signal when the imp tip is merely resting on the object.

Example Tutorial (from Media Molecule)

  1. Stamp a cube
  2. Add a grab sensor and surface snap it to the cube.
  3. In the cube tweak menu go to physical properties and select grab under imp interaction
  4. In outer properties push up the glow slider to 50%
  5. Connect the grabbed output on the grab sensor to the glow slider input in your cube.
  6. Switch to test mode
  7. Grab the shape. It will glow.
  8. Try the same but with the hover output instead of grabbed.

Tweak Menus

  1. No. Players Required
    1a Input
    1b Output
  2. Sense Grab
    2a. Input
  3. Grabbed
    3b Output
  4. Hovered
    4b. Output
  5. Imp Stretch
    5b. Output
  6. Power
  1. Number of imps required
    You can set how many imps need to be grabbing an object to trigger the gadget, for multiplayer purposes. You can choose “ALL” to require all active players, or select a number from 1 to 4
  2. Sense Grab
    Connect a wire from this input to the object that you want to test being grabbed. Alternatively, if you snap the gadget to an object, or to a microchip snapped on the object, that object defaults to being the one tested
  3. Grabbed
    This outputs a continuous signal while the object is question is being grabbed by the required number of players
  4. Hovered
    Rather than having to grab an object, this output provides a signal when the imp’s tip is hovering over the object. You might use this for example to highlight the object that the player is looking at before they commit to grabbing it
  5. Imp Stretch
    When an object is being grabbed, this output provides a variable signal determined by the amount that the imp tip is being stretched at the time, which depends on how far the player is holding the imp away from the point being grabbed
  6. Power
    This is where you can turn the gadget on/off

Lex Tips

Useful Tutorials

Beginners Guide to the Grab Sensor

Advertisements

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.

Blog at WordPress.com.

Up ↑

%d bloggers like this: