float FixedDelta { get; set; }

robot_2Generated
code_blocksInput

Description

The FixedDelta property of the Scene class represents the fixed time step used in the physics simulation and other fixed update processes within the scene. This value is expressed in seconds and determines how often the fixed update loop is executed.

Usage

Use the FixedDelta property to retrieve the current fixed time step value for the scene. This can be useful for synchronizing physics calculations or other time-dependent processes that require a consistent update interval.

Example

// Accessing the FixedDelta property
float fixedDeltaTime = scene.FixedDelta;

// Using FixedDelta in a physics update
void FixedUpdate()
{
    // Perform physics calculations using fixedDeltaTime
    PhysicsStep(fixedDeltaTime);
}