WheelRaycastResult class

Inheritance

Constructors

WheelRaycastResult()

Properties

body Body?
body
getter/setter pairinherited
directionWorld Vec3?
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 Vec3
hitNormalWorld
getter/setter pairinherited
hitPointWorld Vec3
hitPointWorld
getter/setter pairinherited
rayFromWorld Vec3
rayFromWorld
getter/setter pairinherited
rayToWorld Vec3
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(Vec3 rayFromWorld, Vec3 rayToWorld, Vec3 hitNormalWorld, Vec3 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