Table of Contents

Struct Footfall

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One footfall: where, on what, and how hard.

public struct Footfall
Inherited Members

Fields

Body

The body whose footfall it is (its model's root).

public Transform Body

Field Value

Transform

Crouching

public bool Crouching

Field Value

bool

Foot

0 for the left foot, 1 for the right.

public int Foot

Field Value

int

Ground

What was stood on; null when the ray found nothing (the water, the air, a culled body).

public Collider Ground

Field Value

Collider

Height

How tall the body is, metres: a bigger body treads heavier.

public float Height

Field Value

float

Kind

public FootfallKind Kind

Field Value

FootfallKind

Normal

The ground's normal there; up when nothing was hit.

public Vector3 Normal

Field Value

Vector3

Point

Where it touched, on the ground (or the water's surface).

public Vector3 Point

Field Value

Vector3

Speed

Metres a second the body was going: along the ground for a step, down for a landing or a plunge.

public float Speed

Field Value

float