Table of Contents

Class FallLocomotion

Namespace
Trailblazer.Navigation.Motor
Assembly
Trailblazer.dll

Handles the scout’s behavior when falling, including tracking fall distance and applying movement constraints.

public class FallLocomotion : ILocomotion, ITransient, IRecordable
Inheritance
FallLocomotion
Implements
IRecordable
Inherited Members
Extension Methods

Constructors

FallLocomotion()

public FallLocomotion()

Fields

DefaultFallControlMultiplier

Default movement control multiplier when falling. Reduces movement responsiveness to simulate loss of control while airborne.

public static readonly Fixed64 DefaultFallControlMultiplier

Field Value

Fixed64

DefaultMaxFallHeight

The default maximum height a scout can fall before a fatal impact occurs.

public static readonly Fixed64 DefaultMaxFallHeight

Field Value

Fixed64

FallControlMultiplier

A multiplier controlling how much movement input affects the scout while falling. Lower values reduce movement responsiveness.

public Fixed64 FallControlMultiplier

Field Value

Fixed64

MaxFallHeight

The maximum allowable fall height before the scout reaches a critical threshold (e.g., death or heavy impact).

public Fixed64 MaxFallHeight

Field Value

Fixed64

Properties

FallEnd

The vertical position where the scout landed.

[Transient]
public Fixed64 FallEnd { get; set; }

Property Value

Fixed64

FallHeight

The total distance fallen, calculated as the difference between FallStart and FallEnd.

public Fixed64 FallHeight { get; }

Property Value

Fixed64

FallStart

The vertical position where the scout started falling.

[Transient]
public Fixed64 FallStart { get; set; }

Property Value

Fixed64

IsEnabled

Indicates whether this locomotion behavior is enabled. If disabled, its movement effects will not be applied.

public bool IsEnabled { get; set; }

Property Value

bool

IsFalling

Indicates whether the scout is currently falling.

[Transient]
public bool IsFalling { get; set; }

Property Value

bool

Methods

RecordData(IChronicler)

Records the current instance state to the provided chronicler.

public void RecordData(IChronicler chronicler)

Parameters

chronicler IChronicler

The active chronicler pass.