CharacterContact3D class final
Something a character touches.
Constructors
Properties
- body → int
-
The body touched, or 0.
final
- character → int
-
The character touched, or 0.
final
- distance → double
-
Zero or less when touching; more is a contact it expects.
final
- hadCollision → bool
-
Whether the character actually ran into it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSensor → bool
-
Whether the body touched is a sensor.
final
- normal → Vector3
-
Pointing towards the character.
final
- position → Vector3
-
Where.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- velocity → Vector3
-
How fast the point touched moves.
final
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