Jump to content

shadmar

Members
  • Posts

    3,618
  • Joined

  • Last visited

Everything posted by shadmar

  1. He did : http://www.leadwerks.com/werkspace/page/gallery/_/procedural-heightmaps-r225
  2. I get this too. Edit : terrain collision happens at y=0, seems to ignore elevation. Edit2 : terrain collision also works for underneath elevated terrain.
  3. Nice! Now we could make a car, however no springs yet, so don't drive on bumby roads.
  4. Wait 10 seconds... It's 354 KB...
  5. When I look in the shader, it supports one light, directional.
  6. http://librocket.com/ is also html based gui,
  7. I get big orange commercial ad screen from the dl link, can you attach the zip to the post directly?
  8. If you also connect a script to the 3d arrow, you can hide the arrow when game is running. entity:hide() in script:start()
  9. I use a prefab for direct light and camera parented to an 3d arrow wich shows me direction for these.
  10. Open in VS2010 : C:/Leadwerks/Projects/DarknessAwaits/Projects/Windows/DarknessAwaits.sln Compile for both debug and release.
  11. this seems to work if I just use setpos to one of the limbs like the torso in App:Loop() model_skindoll:SetPosition(physics_torso:GetPosition())
  12. I'm parenting model bones to physical limbs for skinned ragdolls. Problem is if ragdoll moves outside models initial AABB it will disappear, calling UpdateAABB every loop doesn't seem to matter. Anything else I can do or maybe it's bug related?
  13. Doesn't work. I guess it's by design, since they collapse at run time?
  14. You can also use a cubemap (skybox) like this : http://www.leadwerks.com/werkspace/topic/7452-skybox-in-30-a-simple-example-with-shader/
  15. You could try this (have no idea if it works anymore) but it's a sway shader for LE3 back in march. http://www.leadwerks.com/werkspace/files/file/404-le3-treesway-shader/
  16. Simple test : box=Model:Box() box:SetPosition(0,11,0) box:SetMass(1) local shape = Shape:Box(0,0,0, 0,0,0, 1,1,1) box:SetShape(shape) box2=box:Instance() box2:SetPosition(0,12,0) local joint = Joint:Hinge(0,11.5,0,1,0,0,box,box2,-90,90) or try : http://www.leadwerks.com/werkspace/files/file/451-ragdoll/ (knees and elbows are hinge joints)
  17. Calling in lua after self.world=World:Create() self.world:SetPhysicsDetail(1) throws: attempt to call method 'SetPhysicsDetail' (a nil value)
×
×
  • Create New...