Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Lethal Raptor Games

  • Content Count

  • Joined

  • Last visited

Everything posted by Lethal Raptor Games

  1. This is very exciting stuff! Can't wait to change over to Turbo.
  2. For(int id=0;id <spriteSequences.size ();id++) { SpriteSequences[id]->Release (); } SpriteSequence.clear () \\resets the list to 0 size
  3. AABB::Grow() and AABB::Shrink() commands would be useful.
  4. Want I want is exactly what you have done with your character controller, but align to different gravity directions. What I'm doing to try and achieve it is this; Create Capsule Shape Apply constant force of gravity On Actor::Collision(); Store collision point and normal Store collision time Turn off gravity Set Velocity to 0 On UserInput to move; Create Plane with the normal and position Use angle of character to find a point exactly 1 unit away Intersect the plane with a ray al
  5. Ah okay. But it will still flex around when it is hit, which isn't ideal for a character controller.
  6. Ah I see what you mean now. I got it to work but the kinematic joint still gives me trouble where the object will drag across the ground and jitter. I think the problem is, it drags and gets a new rotation, and then next frame the target rotation is set, causing a jitter between the two. Is Joint::Vector() able to be moved at all? I know it can be moved around if something hits it, but I want to add forces to it...
  7. I've tried this but it doesn't work for me. I'm calling SetTargetPositon() but else where I'm calling AddForce() to the child of that joint to simulate gravity. This seems like it may be bad?
  8. Vector seems to constrain the child enity well but setTargetPosition dosnt seem to work and there is no other way to move the joint. ? unless I parent it to another entity maybe, but that might defeat the purpose...
  9. So I found this; Joint::Vector(). Anybody have an idea how to use it? It seems to pin the child correctly but I can't get it to move around...
  10. Now this looks like somthing I need. ? Hard to impliment?
  11. Awsome! I spent ages looking through those files I'm surprised I missed it. Thanks heaps!
  12. If an object has root motion, that means the bones / mesh must move away from the origin point so the character can't be parented to the controller... or you could parent the character to the controller, move the controller forward based on the root motion and move the character entity backwards at the same rate... ? Code to manage this could be written once and then all movements would be controlled via animations. I can see this being good for animals that run around all over the place, but for a character... not sure..
  13. I would love to be able to use newton commands directly, such as NewtonWorldRayCast(). Is there a way to get the newton world from within Leadwerks?
  14. I think whats happening is the animator will move the root bone in the direction of travel, and then you copy that movement to the character controller. It would take some working out but I don't think it'll be too hard to implement. That's what I was thinking too.
  15. Anyone heard / have thoughts on root motion vs treadmill motion for Leadwerks? As far as I can tell; Treadmill motion is where you move the characters controller via code at a constant speed, and root motion is where you let the root bone of your animation say how fast and far your controller moves. Just wondering what your thoughts are on both approaches
  16. Great work! Excited to see more.
  17. I'm having the same issue, can't test this at the moment but maybe there's a way to update an entities matrix first? Like entity->updatematrix()?
  18. You can manipulate vertices quite easily. C++ might be best due to being a bit faster.
  19. I've using Leadwerks to design some editor like apps for some other projects. The treeview would make a nice addition to it.
  20. So I made the polymesh shape a volume and that still didn't register a trigger event. maybe it doesn't work with polymesh shapes... ?
  21. Ah okay. I did find this https://www.leadwerks.com/community/blogs/entry/1760-writing-the-treeview-widget/ Maybe I can flesh it out.
  22. As the title says, TreeView.lua is not in the Scripts/GUI folder. Has this been removed for some reason?
  23. Isn't it supposed to be self.entity? You are creating a new variable called myEntity and setting it to nil, no where is it being assigned the entity the script belongs too.
  24. If you call GetSurface(0)->GetMaterial() it should work.
  • Create New...