PhysicsHit3D class final
A query's hit, with the entity whose body it hit.
Constructors
Properties
- body → int
-
The body hit.
final
- depth → double
-
A sweep that started inside, or an overlap: how deep.
final
- distance → double
-
How far along the ray or sweep, in metres.
final
- entity → Entity?
-
The entity hit; null for a body no PhysicsSystem3D made.
final
- fraction → double
-
How far along, 0–1.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- normal → Vector3
-
The surface's normal there, facing the query.
final
- point → Vector3
-
Where.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited