add standard components test

This commit is contained in:
MihailRis
2024-06-28 18:57:40 +03:00
parent e0e5faa4a8
commit c54be7b2b1
6 changed files with 46 additions and 11 deletions
+2 -1
View File
@@ -7,5 +7,6 @@ function on_despawn(eid)
end
function on_grounded(eid)
Transform.set_rot(eid, mat4.rotate({0, 1, 0}, math.random()*360))
local entity = stdcomp.new_Entity(eid) -- test
entity.transform:set_rot(mat4.rotate({0, 1, 0}, math.random()*360))
end