FakeBody3D class final
A body in a FakePhysicsWorld3D, open for tests to look at.
Properties
- allowSleeping → bool
-
Whether it may sleep.
final
- angularVelocity → Vector3
-
Its spin (never changed by the simulation).
final
- awake ↔ bool
-
Whether it is awake.
getter/setter pair
- character ↔ int
-
The character it stands in for, or 0.
getter/setter pair
- force → Vector3
-
Force waiting for the next step.
final
- friction ↔ double
-
Its friction, bounciness and gravity factor.
getter/setter pair
- gravityFactor ↔ double
-
Its friction, bounciness and gravity factor.
getter/setter pair
- handle → int
-
Its handle.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSensor → bool
-
Whether it is a sensor.
final
- layer ↔ int
-
Its layer.
getter/setter pair
- linearDamping → double
-
Its linear damping.
final
- linearVelocity → Vector3
-
Its velocity.
final
- localMax → Vector3
-
Its shape's bounds, turned as it is, about its position.
final
- localMin → Vector3
-
Its shape's bounds, turned as it is, about its position.
final
- mass → double
-
Its mass (1 when the settings left it to the shape).
final
- maxX → double
-
no setter
- maxY → double
-
no setter
- maxZ → double
-
no setter
- minX → double
-
no setter
- minY → double
-
no setter
- minZ → double
-
no setter
- motionQuality ↔ MotionQuality3D
-
Its motion quality.
getter/setter pair
- position → Vector3
-
Where it is.
final
- restitution ↔ double
-
Its friction, bounciness and gravity factor.
getter/setter pair
- rotation → Quaternion
-
How it is turned (never changed by the simulation).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → Shape3D
-
Its shape.
final
- torque → Vector3
-
Torque waiting for the next step (recorded only).
final
- type ↔ BodyType3D
-
How it moves.
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