Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 187 Bytes
function Update()
local rot = this:GetTransform():GetRotation()
rot.x = rot.x + engine:GetClockDt() * 1.5
rot.z = rot.z + engine:GetClockDt()
this:GetTransform():SetRotation(rot)
end
You can’t perform that action at this time.