added scene lights and helment rotation

This commit is contained in:
j3oss
2021-07-20 13:35:29 +02:00
parent bbd9ad05f5
commit b50a22f4bf
2 changed files with 76 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
this.on_init = function()
this.angles = Vec3:new()
end
this.on_update = function()
rotationSpeed = 0.001
this.angles.y = this.angles.y - rotationSpeed
this.eulerAngles = this.angles
end