Set Physics Property

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.

Mass The amount of mass in kg (kilograms) to set.
Friction The amount of friction (0-100%) to set.
Bounce The bounciness to set (0-100%). How much the object should bounce.
Air Resistance The 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.

 

Related

Get Physics Properties

 

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

SetMassReference.gif

0 Comments

Article is closed for comments.