Search found 75 matches
- Tue Sep 10, 2019 7:08 am
- Forum: Support and Development
- Topic: body:getposition with multiple shapes
- Replies: 13
- Views: 9637
Re: body:getposition with multiple shapes
It is a bit odd right? The positioning of the shapes Yes, and I haven't found anything about it in the documentation. I'm so glad it's not just me, thought I was going mental. Was even harder to google about - tried looking through some box2d stuff as well but with no luck. Not going to lie, wasn't...
- Sun Sep 08, 2019 5:59 pm
- Forum: Support and Development
- Topic: body:getposition with multiple shapes
- Replies: 13
- Views: 9637
Re: body:getposition with multiple shapes
Yeah this is exactly what I found - and your assumption of what I was expecting is correct. Thanks for the code example, I fully get what youre suggesting here and it sounds exactly like what I need to do. Will have a dabble later with my code. Cheers! It is a bit odd right? The positioning of the s...
- Sat Sep 07, 2019 2:11 pm
- Forum: Support and Development
- Topic: body:getposition with multiple shapes
- Replies: 13
- Views: 9637
body:getposition with multiple shapes
Ive had some issues with rectangle shaped character "sticking" to floors where 2 boxes meet. I read about trying a circle for feet, and this worked well - my character now glides over those bits. I wanted to use a rectangle and circle to create a kind of "capsule" shape. However,...
- Sun Sep 01, 2019 8:23 am
- Forum: Support and Development
- Topic: Is this a bug with world:queryBoundingBox
- Replies: 3
- Views: 2787
Re: Is this a bug with world:queryBoundingBox
But if I'm using 64 pixels for my "Meter" of game world, I can't lower that without experiencing changes in all my current code right? If I drop 64 to 4 or 8 I assume movement will get faster or something? why is this so btw ? im drawing the boundingboxes in blue - why are they being picke...
- Sat Aug 31, 2019 6:40 pm
- Forum: Support and Development
- Topic: Is this a bug with world:queryBoundingBox
- Replies: 3
- Views: 2787
Is this a bug with world:queryBoundingBox
Below is code snippet from the basic physics tutorial: https://love2d.org/wiki/Tutorial:Physics I'm not sure if I've misunderstood how to use this function. But I noticed my bounding box was offset by 10+ pixels - or something ? So I took the basic physics tutorial, and added queryBoundingBox. I use...
- Sun Aug 11, 2019 9:45 am
- Forum: Support and Development
- Topic: Making a rope feel like it has weight
- Replies: 3
- Views: 3082
Re: Making a rope feel like it has weight
Would you recommend I continue using this "chain" approach or should I switch to using the RopeJoint with 2 nodes? I did start with that originally, but wasn't sure of best way of doing "Player grabbing between 2 nodes" or the Rope passing physical objects and needing to "wr...
- Sat Aug 10, 2019 3:30 pm
- Forum: Support and Development
- Topic: Making a rope feel like it has weight
- Replies: 3
- Views: 3082
Making a rope feel like it has weight
I have built a rope with many bodies joined together as RopeJoints. It feels a little "floaty" at the moment not sure if I need to mess with the bodies Densities or the Angular Velocity (so they slow down faster?). When my Character grabs one of the bodies and starts swinging, the rope doe...
- Tue Jun 04, 2019 12:20 pm
- Forum: Support and Development
- Topic: ropeJoint not behaving how I expected.
- Replies: 3
- Views: 3194
Re: ropeJoint not behaving how I expected.
I've uploaded a video to help explain the odd behaviour im getting.
- Sun Jun 02, 2019 3:41 pm
- Forum: Support and Development
- Topic: ropeJoint not behaving how I expected.
- Replies: 3
- Views: 3194
ropeJoint not behaving how I expected.
Edit* Added video example: https://vimeo.com/340194287 https://love2d.org/wiki/love.physics.newRopeJoint Creates a joint between two bodies. Its only function is enforcing a max distance between these bodies. I've created a rope by joining many little circle bodies together. Works quite well. I've g...
- Sat Jun 09, 2018 4:14 pm
- Forum: Support and Development
- Topic: Box in water moves when Player moves
- Replies: 4
- Views: 2229
Re: Box in water moves when Player moves
Ah, it seems I have to lower the Friction a bit too much - and my Player picks up too much speed now when walking across
I guess I could make it heavier than player and adjust my water buoyancy code relative to that
I guess I could make it heavier than player and adjust my water buoyancy code relative to that