Physics Settings
Physics Settings is a component with parameters which control how the physics simulation behaves within the experience.
In most cases, you do not need to edit or update the physics settings. For specific situations however - such as having physics objects in slow motion - you might want to customize this.
Updating Physics Settings
The Physics Settings component has the following properties:
Property | Description |
---|---|
Fixed Time Step |
Amount of time (in seconds) that passes in each step of the physics simulation. If no value is provided (0 ), the engine will use the delta time between frames. A good value for fixed time step is 1/60 (60 fps). |
Gravity |
The force of gravity that is applied to objects in the physics simulation. |
A smaller
Fixed Time Step
could result in smoother and more accurate physics, but would also require more processing power.
Next article: Constraints