Skip to content

e2 docs custom tracesystem

Divran edited this page Apr 22, 2021 · 5 revisions

Jump to table of contents

Custom/tracesystem

Vector = rayPlaneIntersection(Vector Start, Vector Dir, Vector Pos, Vector Normal)

(0 ops)

Vector = rayFaceIntersection(Vector Start, Vector Dir, Vector Pos, Vector Normal, Vector Size, Number Ang)

(0 ops)

Vector = rayPolygonIntersection(Vector Start, Vector Dir, Vector Vertex1, Vector Vertex2, Vector Vertex3)

(0 ops)

Vector = rayAABBoxIntersection(Vector Start, Vector Dir, Vector Pos, Vector Size)

(0 ops)

Vector = rayOBBoxIntersection(Vector Start, Vector Dir, Vector Pos, Vector Size, Angle Ang)

(0 ops)

Vector = rayCircleIntersection(Vector Start, Vector Dir, Vector Pos, Vector Normal, Number Radius)

(0 ops)

Vector = raySphereIntersection(Vector Start, Vector Dir, Vector Pos, Number Radius)

(0 ops)

Vector = rayAAEllipsoidIntersection(Vector Start, Vector Dir, Vector Pos, Vector Size)

(0 ops)

Vector = rayOEllipsoidIntersection(Vector Start, Vector Dir, Vector Pos, Vector Size, Angle Ang)

(0 ops)

Vector = coneSphereIntersection(Vector Start, Vector Dir, Vector Pos, Number Radius, Number Ang)

(0 ops)

Number = tsShapeCanCreate()

(0 ops)

tsShapeShare(Number Share)

(0 ops)

String = tsShapeCreate(Number Index, String Model, Number Radius, Number Rotation, Vector Pos, Vector Normal, Vector Size, Angle Ang, Vector Vertex1, Vector Vertex2, Vector Vertex3)

(0 ops)

String = tsShapeCreate(Number Index)

(0 ops)

String = tsShapePolygon(Number Index, Vector Vertex1, Vector Vertex2, Vector Vertex3)

(0 ops)

String = tsShapeModel(Number Index, String Model)

(0 ops)

String = tsShapeRadius(Number Index, Number Radius)

(0 ops)

String = tsShapeRotation(Number Index, Number Rotation)

(0 ops)

String = tsShapePos(Number Index, Vector Pos)

(0 ops)

String = tsShapeVertices(Number Index, Vector Vertex1, Vector Vertex2, Vector Vertex3)

(0 ops)

String = tsShapeAng(Number Index, Angle Ang)

(0 ops)

String = tsShapeNormal(Number Index, Vector Normal)

(0 ops)

String = tsShapeSize(Number Index, Vector Size)

(0 ops)

String = tsShapeParent(Number Index, Entity Parent)

(0 ops)

String = tsShapeRemove(Number Index)

(0 ops)

tsShapeClear()

(0 ops)

Tracedata = tsRayPlaneIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayFaceIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayPolygonIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayBoxIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayCircleIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRaySphereIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayEllipsoidIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsRayIntersection(Vector Start, Vector Dir)

(0 ops)

Tracedata = tsConeSphereIntersection(Vector Start, Vector Dir, Number Angle)

(0 ops)

Number = Tracedata:sortByDistance(Vector Pos)

(0 ops)

Number = Tracedata:count()

(0 ops)

Number = Tracedata:hit()

(0 ops)

Number = Tracedata:hit(Number Index)

(0 ops)

Number = Tracedata:hitAngle()

(0 ops)

Number = Tracedata:hitAngle(Number Index)

(0 ops)

Number = Tracedata:index()

(0 ops)

Number = Tracedata:index(Number Index)

(0 ops)

Number = Tracedata:distance()

(0 ops)

Number = Tracedata:distance(Number Index)

(0 ops)

Number = Tracedata:radius()

(0 ops)

Number = Tracedata:radius(Number Index)

(0 ops)

Number = Tracedata:rotation()

(0 ops)

Number = Tracedata:rotation(Number Index)

(0 ops)

String = Tracedata:model()

(0 ops)

String = Tracedata:model(Number Index)

(0 ops)

Vector = Tracedata:hitPos()

(0 ops)

Vector = Tracedata:hitPos(Number Index)

(0 ops)

Vector = Tracedata:pos()

(0 ops)

Vector = Tracedata:pos(Number Index)

(0 ops)

Vector = Tracedata:vertices()

(0 ops)

Vector = Tracedata:vertices(Number Index)

(0 ops)

Angle = Tracedata:ang()

(0 ops)

Angle = Tracedata:ang(Number Index)

(0 ops)

Vector = Tracedata:hitNormal()

(0 ops)

Vector = Tracedata:hitNormal(Number Index)

(0 ops)

Vector = Tracedata:size()

(0 ops)

Vector = Tracedata:size(Number Index)

(0 ops)

Entity = Tracedata:parent()

(0 ops)

Entity = Tracedata:parent(Number Index)

(0 ops)

Entity = Tracedata:entity()

(0 ops)

Entity = Tracedata:entity(Number Index)

(0 ops)

Entity = Tracedata:owner()

(0 ops)

Entity = Tracedata:owner(Number Index)

(0 ops)

Expression 2 ⚛️

Tutorials (In learning order) 🎓

Extras ❔

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Clone this wiki locally