Table of Contents

Class LocomotionProfile

Namespace
Trailblazer.Navigation.Motor
Assembly
Trailblazer.dll

Describes the installed locomotion modules for a object motor.

public sealed class LocomotionProfile
Inheritance
LocomotionProfile
Inherited Members

Constructors

LocomotionProfile(MoveLocomotion, FallLocomotion, PlatformLocomotion?, JumpLocomotion?, SlideLocomotion?, WaterLocomotion?, FlyLocomotion?, ClimbLocomotion?)

Initializes a new locomotion profile.

public LocomotionProfile(MoveLocomotion move, FallLocomotion fall, PlatformLocomotion? platform = null, JumpLocomotion? jump = null, SlideLocomotion? slide = null, WaterLocomotion? water = null, FlyLocomotion? fly = null, ClimbLocomotion? climb = null)

Parameters

move MoveLocomotion
fall FallLocomotion
platform PlatformLocomotion
jump JumpLocomotion
slide SlideLocomotion
water WaterLocomotion
fly FlyLocomotion
climb ClimbLocomotion

Properties

Climb

Optional climb locomotion.

public ClimbLocomotion? Climb { get; }

Property Value

ClimbLocomotion

Fall

Fall-state configuration for the motor.

public FallLocomotion Fall { get; }

Property Value

FallLocomotion

Fly

Optional flight locomotion.

public FlyLocomotion? Fly { get; }

Property Value

FlyLocomotion

InstalledKinds

Gets the installed locomotion flags for this profile.

public LocomotionKind InstalledKinds { get; }

Property Value

LocomotionKind

Jump

Optional jump locomotion.

public JumpLocomotion? Jump { get; }

Property Value

JumpLocomotion

Move

Core movement configuration for the motor.

public MoveLocomotion Move { get; }

Property Value

MoveLocomotion

Platform

Required moving-platform locomotion.

public PlatformLocomotion Platform { get; }

Property Value

PlatformLocomotion

Slide

Optional slide locomotion.

public SlideLocomotion? Slide { get; }

Property Value

SlideLocomotion

Water

Optional water locomotion.

public WaterLocomotion? Water { get; }

Property Value

WaterLocomotion

Methods

CreateCoreOnly()

Creates a minimal profile with only required locomotion behavior installed.

public static LocomotionProfile CreateCoreOnly()

Returns

LocomotionProfile

CreateDefault()

Creates the default profile with all built-in locomotions installed.

public static LocomotionProfile CreateDefault()

Returns

LocomotionProfile