I have a file named mira and want to make it rotate in your base. How to make?
Script
function update(self, dt)
print(go.get_rotation().z)
local rot = vmath.quat_rotation_z(go.get_rotation().z+1)
go.set_rotation(rot)
-- Add update code here
-- Remove this function if not needed
end