Class CharacterMover
Geometric capsule. Not a rigid body — the game owns velocity and calls Move(CharacterMover, Vector3). Position is the feet.
public sealed class CharacterMover
- Inheritance
-
CharacterMover
- Inherited Members
Constructors
CharacterMover(Vector3, float, float)
public CharacterMover(Vector3 feet, float radius = 0.35, float height = 1.8)
Parameters
Fields
Height
Total height including hemispheres. Must be at least 2 × radius.
public float Height
Field Value
Position
public Vector3 Position
Field Value
Radius
public float Radius
Field Value
StepHeight
Max lip the capsule will step onto without a jump. Quake is 18 units ≈ 0.56 m.
public float StepHeight
Field Value
Velocity
public Vector3 Velocity