Basic entity script

This commit is contained in:
2026-06-01 22:56:37 -05:00
parent 2b78370cb8
commit b14196ff0d
6 changed files with 265 additions and 15 deletions
+4
View File
@@ -0,0 +1,4 @@
const e = Entity.create();
const pos = e.add(Component.POSITION);
pos.localPosition = new Vec3(-1, 0, 1);
Console.print('Entity ID: ' + e.toString());