Class GlobalEnvironmentForces
- Namespace
- Trailblazer.Navigation.Motor
- Assembly
- Trailblazer.dll
Holds simulation-wide gravity defaults read by all MoveLocomotion instances that do not carry a per-instance override.
public sealed class GlobalEnvironmentForces
- Inheritance
-
GlobalEnvironmentForces
- Inherited Members
Remarks
Access the shared instance through GlobalForces. Assigning fields on that instance changes the effective gravity for every unoverridden object on the next simulation frame without touching individual locomotion instances.
Fields
DefaultGravityForce
The default fixed-point acceleration force for gravity.
public static readonly Fixed64 DefaultGravityForce
Field Value
- Fixed64
Remarks
Default acceleration due to gravity is approximately 9.8 m/s².
DefaultTerminalVelocity
The default maximum downward fixed-point velocity a scout can reach due to gravity.
public static readonly Fixed64 DefaultTerminalVelocity
Field Value
- Fixed64
Remarks
Default terminal velocity is roughly 53 m/s (190 km/h or ~120 mph).
GravityForce
The gravity force applied to all navigators without a per-instance override.
public Fixed64 GravityForce
Field Value
- Fixed64
TerminalVelocity
The terminal fall velocity cap applied to all navigators without a per-instance override.
public Fixed64 TerminalVelocity
Field Value
- Fixed64
Methods
Reset()
Restores both global forces to the MoveLocomotion defaults.
public void Reset()