Jump to content

Frenchgui

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Frenchgui

  1. 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.

  2. Yes, you're right shadmar!!! As my scene is quite empty (it was just for learning animations), so nothing uses physics. As soon as I've put some boxes (in unstable position) shadows are working fine. As soon as everything is on floor and idle, shadows stop updating. I will try using a physic camera to force shadow update. Thanks!!!

     

    edit: Ok I've tried it, but character physic doesn't update physics save if they collide. So I have to find a trick, or maybe Josh can add an option to enable/disable update shadows continuesly.

  3. So, I've bought it on Steam but I can't manage to launch it as it crashes immediately. I get a kernel32 memory windows error. Tried to reinstall several times (without antivirus or firewall too) but without success. Leadwerks crashes before it can write a log file. Visual c++ redist and openGl are correctly installed.

     

    My computerspecs: Windows Vista home edition, 3 Go RAM, Nvidia GT430 graphic card (compatible openGL 4 and dx11) , AMD Athlon 7550 dualcore 2,50Ghz 32bits.

     

    Any ideas?

×
×
  • Create New...