WheelRaycastResult class

Inheritance

Constructors

WheelRaycastResult.new()

Properties

body Body?
body
getter/setter pairinherited
directionWorld ↔ Vector3?
getter/setter pair
distance double
Distance to the hit. Will be set to -1 if there was no hit
getter/setter pairinherited
groundObject double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasHit bool
hasHit
getter/setter pairinherited
hitFaceIndex int
The index of the hit triangle, if the hit shape was a trimesh
getter/setter pairinherited
hitNormalWorld ↔ Vector3
hitNormalWorld
getter/setter pairinherited
hitPointWorld ↔ Vector3
hitPointWorld
getter/setter pairinherited
rayFromWorld ↔ Vector3
rayFromWorld
getter/setter pairinherited
rayToWorld ↔ Vector3
rayToWorld
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape Shape?
shape
getter/setter pairinherited
shouldStop bool
If the ray should stop traversing the bodies
getter/setter pairinherited
suspensionLength double
getter/setter pair

Methods

abort() → void
abort
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset all result data.
inherited
set(Vector3 rayFromWorld, Vector3 rayToWorld, Vector3 hitNormalWorld, Vector3 hitPointWorld, Shape shape, Body body, double distance) → void
Set result data.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited