JJ_CharacterSettings class final
How a character (Jolt's CharacterVirtual) is made. Its capsule stands on its position: the bottom of the capsule is at the position.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - enhancedInternalEdgeRemoval ↔ bool
-
As JJ_BodySettings.enhancedInternalEdgeRemoval.
getter/setter pair
- halfHeight ↔ double
-
Half the height of the capsule's cylinder part.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerBody ↔ bool
-
Whether it gets a kinematic body the rest of the world can see: sensors
then detect it, and raycasts hit it.
getter/setter pair
- layer ↔ int
-
Collision layer, 0-15.
getter/setter pair
- mass ↔ double
-
Mass in kg; 0 or less picks 70.
getter/setter pair
- maxSlopeAngle ↔ double
-
Steepest walkable slope, radians.
getter/setter pair
- maxStrength ↔ double
-
The most force (N) it pushes bodies with; below 0 picks 100.
getter/setter pair
- padding ↔ double
-
How far it keeps from geometry; 0 or less keeps Jolt's default.
getter/setter pair
- penetrationRecoverySpeed ↔ double
-
0-1: how much of a penetration is resolved per update.
getter/setter pair
- predictiveContactDistance ↔ double
-
How far ahead it looks for contacts; 0 or less keeps Jolt's default.
getter/setter pair
- radius ↔ double
-
The capsule's radius, metres; above 0.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
up
↔ Array<
Float> -
The world's up, normalised; zero means +Y, Jolt's own.
getter/setter pair
- userData ↔ int
-
Kept on Jolt's CharacterVirtual as its user data.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited