e2 docs custom tracesystem
Jump to table of contents
Custom/tracesystem
= rayPlaneIntersection( Start, Dir, Pos, Normal)
(0 ops)
= rayFaceIntersection( Start, Dir, Pos, Normal, Size, Ang)
(0 ops)
= rayPolygonIntersection( Start, Dir, Vertex1, Vertex2, Vertex3)
(0 ops)
= rayAABBoxIntersection( Start, Dir, Pos, Size)
(0 ops)
= rayOBBoxIntersection( Start, Dir, Pos, Size, Ang)
(0 ops)
= rayCircleIntersection( Start, Dir, Pos, Normal, Radius)
(0 ops)
= raySphereIntersection( Start, Dir, Pos, Radius)
(0 ops)
= rayAAEllipsoidIntersection( Start, Dir, Pos, Size)
(0 ops)
= rayOEllipsoidIntersection( Start, Dir, Pos, Size, Ang)
(0 ops)
= coneSphereIntersection( Start, Dir, Pos, Radius, Ang)
(0 ops)
= tsShapeCanCreate()
(0 ops)
tsShapeShare( Share)
(0 ops)
= tsShapeCreate( Index, Model, Radius, Rotation, Pos, Normal, Size, Ang, Vertex1, Vertex2, Vertex3)
(0 ops)
= tsShapeCreate( Index)
(0 ops)
= tsShapePolygon( Index, Vertex1, Vertex2, Vertex3)
(0 ops)
= tsShapeModel( Index, Model)
(0 ops)
= tsShapeRadius( Index, Radius)
(0 ops)
= tsShapeRotation( Index, Rotation)
(0 ops)
= tsShapePos( Index, Pos)
(0 ops)
= tsShapeVertices( Index, Vertex1, Vertex2, Vertex3)
(0 ops)
= tsShapeAng( Index, Ang)
(0 ops)
= tsShapeNormal( Index, Normal)
(0 ops)
= tsShapeSize( Index, Size)
(0 ops)
= tsShapeParent( Index, Parent)
(0 ops)
= tsShapeRemove( Index)
(0 ops)
tsShapeClear()
(0 ops)
Tracedata = tsRayPlaneIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayFaceIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayPolygonIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayBoxIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayCircleIntersection( Start, Dir)
(0 ops)
Tracedata = tsRaySphereIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayEllipsoidIntersection( Start, Dir)
(0 ops)
Tracedata = tsRayIntersection( Start, Dir)
(0 ops)
Tracedata = tsConeSphereIntersection( Start, Dir, Angle)
(0 ops)
= Tracedata:sortByDistance( Pos)
(0 ops)
= Tracedata:count()
(0 ops)
= Tracedata:hit()
(0 ops)
= Tracedata:hit( Index)
(0 ops)
= Tracedata:hitAngle()
(0 ops)
= Tracedata:hitAngle( Index)
(0 ops)
= Tracedata:index()
(0 ops)
= Tracedata:index( Index)
(0 ops)
= Tracedata:distance()
(0 ops)
= Tracedata:distance( Index)
(0 ops)
= Tracedata:radius()
(0 ops)
= Tracedata:radius( Index)
(0 ops)
= Tracedata:rotation()
(0 ops)
= Tracedata:rotation( Index)
(0 ops)
= Tracedata:model()
(0 ops)
= Tracedata:model( Index)
(0 ops)
= Tracedata:hitPos()
(0 ops)
= Tracedata:hitPos( Index)
(0 ops)
= Tracedata:pos()
(0 ops)
= Tracedata:pos( Index)
(0 ops)
= Tracedata:vertices()
(0 ops)
= Tracedata:vertices( Index)
(0 ops)
= Tracedata:ang()
(0 ops)
= Tracedata:ang( Index)
(0 ops)
= Tracedata:hitNormal()
(0 ops)
= Tracedata:hitNormal( Index)
(0 ops)
= Tracedata:size()
(0 ops)
= Tracedata:size( Index)
(0 ops)
= Tracedata:parent()
(0 ops)
= Tracedata:parent( Index)
(0 ops)
= Tracedata:entity()
(0 ops)
= Tracedata:entity( Index)
(0 ops)
= Tracedata:owner()
(0 ops)
= Tracedata:owner( Index)
(0 ops)