| Package | com.fileitup.fisixengine.utils |
| Class | public final class RaycastData |
See also
| Property | Defined by | ||
|---|---|---|---|
| collisionNormal : Vector | RaycastData | ||
| collisionObject : CollisionObject
The object that the ray intersected with first
| RaycastData | ||
| collisionPoint : Vector
A position in global space where the ray touched the collisionObject.
| RaycastData | ||
| Method | Defined by | ||
|---|---|---|---|
| RaycastData | |||
| collisionNormal | property |
public var collisionNormal:Vector
| collisionObject | property |
public var collisionObject:CollisionObjectThe object that the ray intersected with first
| collisionPoint | property |
public var collisionPoint:VectorA position in global space where the ray touched the collisionObject. This value can be used with CollisionObject.applyForcePoint() to move the object that the ray touched
See also
| RaycastData | () | constructor |
public function RaycastData(obj:CollisionObject, coll:Vector, normal:Vector)Parameters
obj:CollisionObject |
|
coll:Vector |
|
normal:Vector |