JJ_CharacterContact class final

A character's contact.

Inheritance
Implemented types
Available extensions

Constructors

JJ_CharacterContact()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
body ↔ int
The body touched, or 0 for another character.
getter/setter pair
character ↔ int
Another character touched, or 0.
getter/setter pair
distance ↔ double
Negative or zero when touching; positive is a predicted contact.
getter/setter pair
hadCollision ↔ bool
Whether it actually collided (false for a predicted contact).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isSensor ↔ bool
Whether the body touched is a sensor.
getter/setter pair
normal ↔ Array<Float>
Pointing towards the character.
getter/setter pair
position ↔ Array<Float>
Where they touch.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
velocity ↔ Array<Float>
Velocity of the contact point.
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