CollisionStay3DEvent class

Two entities' bodies are still touching after a step. Only fired when the service was made with reportContactStay: true.

Inheritance

Constructors

CollisionStay3DEvent({required Entity entityA, required Entity entityB, required Vector3 point, required Vector3 normal, double depth = 0})
entityA still touches entityB.

Properties

depth → double
How far they overlap.
final
entityA → Entity
One entity.
final
entityB → Entity
The other.
final
hashCode → int
The hash code for this object.
no setterinherited
normal → Vector3
From A towards B.
final
point → Vector3
Where they touch.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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