Loading...

Logo
DocumentationBehaviorsPhysicsSet Physics Property
Physics

Set Physics Property

Last updated May 2, 2023

Description

Change a physical property of an object. You can change an object's mass, bounciness, friction and air resistance or change an object to be passable or non-passable.

Properties

Triggers Immediately

Object A

The object(s) you wish to change the physical properties of. By default this is the current object selected. You can change this to any other object in your scene.

MassThe amount of mass in kg (kilograms) to set.
FrictionThe amount of friction (0-100%) to set.
BounceThe bounciness to set (0-100%). How much the object should bounce.
Air ResistanceThe amount of air resistance to set (0-100%). How much an object experiences air resistance. If the number is low, the object will move more freely.

Outputs

Object ID

This outputs the Object ID.

Get Physics Properties

This example below is setting and getting the Mass of an object in the scene.

SetMassReference.gif