Physics Settings
The behaviour of a Handle can be changed by applying different Physics Settings to it. A number of premade settings are included with the Interaction package. These can be found in Packages > Immerse Interaction > Runtime > Interaction > Physics > Presets
Field | Description |
---|---|
Instant | Applies positional and rotational changes to the target Rigidbody immediately. (non-physical) |
Physical | The Handle will apply forces to the Rigidbody to move and rotate it’s target. |
Position Only | Only applies positional forces. This is used in our Wheel and Lever examples. |
Rotation Only | Only applies rotational forces. This is used in our Dial and Door examples. |
For full control over your physical interactions, you will need to create your own Physics Settings. This can be done from the Assets menu: Assets > Create > Immerse > Interaction > Physics Settings
The Position and Rotation configurations share a number of settings. The most important of which is the mode. There are 3 different modes
- Off - No affect will be applied
- Instant - Apply change immediately without consideration for physics
- Physical - Apply forces (recommended)
When using Physical mode, more settings are made available. The best way to get an understanding of how these settings affect an object is best understood by trying it for yourself, but a description has been provided below.
Field | Description |
---|---|
Frequency | Speed of convergence |
Damping | Damping value (1 = critically damped) |
Gravity Compensation | Apply additional forces to compensate for gravitational forces (Position only) |
Alternatively, Physical mode can be configured using Proportional Derivative values by changing the Input Mode at the top of the Physics Settings object’s editor.