Conturile Meta sunt aici: puteți crea un cont Meta pentru a vă conecta la dispozitivele VR. Află mai multe

STOP PHYSICAL MOTION

The object's velocity and angular velocity are negated and become zero.

Appearance in Composition Pane
Description

Stop physical motion sets the velocity and spin of the object to zero. This works as long as it is not grabbed by a player. It has no effect on Motion Over Time codeblocks.
Parameters

object
Stops the physical motion of the object.


PREREQUISITE READING

SPIN IN LOCAL SPACE precedes this tutorial


Example 1: Stop an object in motion

If this script is attached to a wand, when index trigger is pressed the obj’s trajectory is halted.

Next Up