Skip to content

e2 docs custom constraintcore

Divran edited this page Aug 4, 2020 · 5 revisions

Table of Contents


Custom/constraintcore

enableConstraintUndo(Number State)

(1 ops)

axis(Entity Ent1, Vector V1, Entity Ent2)

(30 ops)

axis(Entity Ent1, Vector V1, Entity Ent2, Vector V2)

(30 ops)

axis(Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Friction)

(30 ops)

ballsocket(Entity Ent1, Vector V)

(30 ops)

ballsocket(Entity Ent1, Vector V, Entity Ent2)

(30 ops)

ballsocket(Entity Ent1, Vector V, Entity Ent2, Vector Mins, Vector Maxs)

(30 ops)

ballsocket(Entity Ent1, Vector V, Entity Ent2, Vector Mins, Vector Maxs, Vector Frictions)

(30 ops)

weldAng(Entity Ent1, Vector V)

(30 ops)

winch(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2)

(30 ops)

hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2)

(30 ops)

hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Constant, Number Damping, String Mat, Number Width)

(30 ops)

hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Constant, Number Damping, Number Rdamping, String Mat, Number Width)

(30 ops)

rope(Number Index, Entity Ent1, Vector V1, Entity Ent2)

(30 ops)

rope(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Addlength, Number Width)

(30 ops)

rope(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Addlength, Number Width, String Mat)

(30 ops)

Entity:setLength(Number Index)

(5 ops)

Entity:setConstant(Number Index)

(5 ops)

Entity:setConstant(Number Index, Number Constant)

(5 ops)

Entity:setDamping(Number Index)

(5 ops)

slider(Entity Ent1, Vector V1, Entity Ent2)

(30 ops)

slider(Entity Ent1, Vector V1, Entity Ent2, Vector V2)

(30 ops)

noCollide(Entity Ent1)

(30 ops)

noCollideAll(Entity Ent)

(30 ops)

weld(Entity Ent1)

(30 ops)

Entity:constraintBreak()

(5 ops)

Entity:constraintBreak(Entity Ent2)

(5 ops)

Entity:constraintBreak(String Type)

(5 ops)

Entity:constraintBreak(String Type)

(5 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