Jump to content

Kelair

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Kelair

  1. Hello all,

     

    Leadwerks newb here trying to animate the crawler model. I've followed along with Jorn's tutorial here (

    ), but can't seem to get it work the same way. The crawler when I push run looks like he is frozen in attack mode. After looking at the SimpleAnimation.lua script I think the settings are hard coded in, this is off a fresh install from steam. For parameters I'm using speed of 1 and sequence of 0 which should be idle according to the model editor.

     

    Can someone verify this default script to make sure it is right?

     

    Thanks!

     

     

    SimpleAnimation.lua

     

    Script.Speed=1.0--float

    Script.Sequence=0--int

     

    function Script:Draw()

    self.entity:SetAnimationFrame(8,1,4)

    --local t = Time:GetCurrent()

    --self.entity:SetAnimationFrame(t/100.0*self.Speed,1,self.Sequence)

    end

×
×
  • Create New...