Hello Josh. To see the shadow trouble, just put a floor, a point light and the crawler model with this script:
Script.Speed=1.0--float
Script.Sequence=2--int
entpos = Vec3(0,0,0)
Script.angle=50.0--float
function Script:Draw()
-- move entity a bit for shadow updating
self.angle = self.angle + 1.0
if self.angle >= 360 then
self.angle=0
end
entpos = self.entity:GetPosition()
entpos.x = entpos.x + Math:Sin(self.angle)/100
entpos.z = entpos.z + Math:Cos(self.angle)/100 + 0.001
self.entity:SetPosition(entpos.x , entpos.y , entpos.z)
local t = Time:GetCurrent()
self.entity:SetAnimationFrame(t/100.0*self.Speed,1,self.Sequence)
end
... and a camera. As you can see, model is animating and moving, but not shadows.