We’re introducing Meta accounts in August 2022: a new way to log into VR devices that doesn’t require a Facebook account. Learn more

SET SIMULATED

Turns on and off an object’s "simulated" property.

Appearance in Composition Pane
Description

In an object’s property panel you will find a toggle for simulated. If set simulated is false, the object cannot be moved by physics or grabbed by a player. If a player is holding an object when set simulated is set to false, the object is released from the player’s hand.
Parameters

object, boolean
Set an object’s simulation to the boolean true or false.


PREREQUISITE READING

SET TRIGGER DETECTION precedes this tutorial


Example 1: Disable simulation with an event

The when trigger is exited by object we set simulated on the obj to disable its movement. You can imagine this event affecting a robot that mistakenly leaves its designated area.

Next Up