Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Physics

The behavior of a Handle can be modified by applying different Physics Settings. The Interaction package includes several premade settings:

Preset Description
Instant Immediately applies positional and rotational changes to the target Rigidbody (non-physical).
Physical Applies forces to the Rigidbody to move and rotate the target.
Position Only Applies only positional changes.
Rotation Only Applies only rotational changes.

Creating New Physics Settings

To gain full control over your physical interactions, you can create custom Physics Settings. This can be done through the create asset menu: Immerse / Interaction / Physics Settings.

The Position and Rotation configurations share several settings, the most important of which is the mode. There are three modes available:

Mode Description
Off No effect will be applied.
Instant Applies changes immediately without considering physics.
Physical Applies physical forces.

Physical Mode

In Physical mode, additional settings become available. Experimenting with these settings is the best way to understand their effects, but a description is provided below:

Field Description
Frequency Speed of convergence.
Damping Damping value (1 = critically damped).
Gravity Compensation Applies additional forces to counteract gravity (Position only).

Alternatively, you can configure Physical mode using Proportional Derivative values by changing the Input Mode at the top of the Physics Settings object’s editor.