PhysicsCharacterControllerΒΆ

class PhysicsCharacterController : Constraint, IConstraint, IDebugDrawable, System.IComparable<Constraint>

A simple physics-based character controller.

readonly JitterWorld World
JVector TargetVelocity
bool TryJump
RigidBody BodyWalkingOn
float JumpVelocity
float Stiffness
readonly bool OnFloor
public void DebugDraw(IDebugDrawer drawer)
Parameters:
  • drawer (Jitter.IDebugDrawer) –
public void PrepareForIteration(float timestep)
Parameters:
  • timestep (float) –
public void Iterate()