Optionalcollision§30 bit set the character's own casts belong to. Defaults to every bit.
Optionalcollision§30 bit set the character's casts may hit. Defaults to every bit.
OptionalgravityVertical acceleration in m/s² while airborne. Default −9.81.
OptionalgroundedWhether the character starts grounded. Default false.
OptionalgroundHow far a grounded character looks down for its ground, in metres. Finite
and >= 0. Default DEFAULT_GROUND_SNAP_DISTANCE.
Half the length of the capsule's cylindrical section, in metres — §24's
own parameterization, so the total height is 2 · (halfHeight + radius)
and the axis is +Y. Finite and > 0.
OptionaljumpUpward speed SweptCharacterController.jump imparts, in m/s. Default 4.
OptionalmaxTerminal downward speed in m/s, or Infinity (the default) for none.
OptionalmaxCollide-and-slide iteration budget for one step. An integer >= 1.
Default DEFAULT_MAX_SLIDES.
OptionalmoveSpeed a full move intent produces, in m/s. Default 1.
OptionalpushWhether a horizontal slide against a "dynamic" body imparts an impulse.
Default true. false restores the pre-PH-11c no-push behaviour.
OptionalpushDimensionless gain on the push impulse. Finite and >= 0.
Default DEFAULT_PUSH_IMPULSE_SCALE.
OptionalpushMass, in kilograms, used only for the PH-11c reduced-mass push against a
dynamic hit. The controller is kinematic and is not a solver body.
Finite and > 0. Default DEFAULT_PUSH_MASS.
Radius of the swept capsule, in metres (§24). Finite and > 0.
OptionalskinGap kept between the capsule and every surface, in metres. Finite, > 0,
and less than radius. Default DEFAULT_SKIN_WIDTH.
OptionalslopeSteepest ground the character stands on, in radians from horizontal (§7a).
0 <= slopeLimit < π/2. Default DEFAULT_SLOPE_LIMIT.
OptionalstepLargest rise the character climbs without jumping, in metres. Finite and
>= 0; 0 disables step-up. Default DEFAULT_STEP_HEIGHT.
OptionalverticalInitial vertical velocity in m/s — what §79 restores. Default 0.
OptionalworldThe collision world every sweep is cast against (§30). Optional so a
component restored from a §79 document can be re-bound afterwards, exactly
as a reloaded RigidBody is registered afterwards; a controller with no
world writes nothing.
Must be a "3d" world — see the module note on "2d".
OptionalyawInitial heading in radians (§7a). Default 0.
Options for SweptCharacterController (§12, §24, §30).