timelinefx:timelinefx.tlCollisionResult
Struct tlCollisionResult
Class for storing the results of a collision You can use CheckCollision to check for a collision between 2 objects which will return a tlCollisionResult
Public Fields
source
target
Public Properties
HasIntersection Find out if the collision has an intersection
HasSurfaceNormal GFind out if the collision as a surface normal
Intersecting Find out if the last collision check is intersecting
IsColliding Find out if the last collision check found a collision
NoCollision
RayDistance Get the distance from the ray origin to the instersection point
RayIntersection Get the intersection point of the raycast
RayOriginInside Find out if the last ray cast found that the ray originated inside the boundary
RaySurfaceNormal Get the surface normal that the ray hits
SourceBoundary The Source boundary of a collision check
SurfaceNormal Get the surface normal of the collision
TargetBoundary The Target boundary of a collision check
TranslationVector Get the translation vector of the collision
WillIntersect Find out if the last collision check is intersecting
Public Methods
GetReboundVector Get the rebound vector