This sounds very exciting!
2.0 Progress Update
NewsI don't suppose you'll be presenting any of this collision stuff this year at the GDC?
The collision tutorials from previous years presented collision detection (and even some continuous test), but never how to integrate them with a constraint solver/simulation..
The collision tutorials from previous years presented collision detection (and even some continuous test), but never how to integrate them with a constraint solver/simulation..
I'll be showing some demos (basically stuff you can already see from SVN). However, my time budget (about 45 minutes) only gives me enough time to cover the basics of constraint solvers.
Also, I'm figuring out continuous physics as I go, so it is not well baked. I've been in the same boat as you. There is a huge vacuum in the literature on this topic.
I'll be at the GDC all week. I'd be happy to chat with you (or anyone else interested in Box2D). If there is enough interest, we can organize a Box2D lunch.
Also, I'm figuring out continuous physics as I go, so it is not well baked. I've been in the same boat as you. There is a huge vacuum in the literature on this topic.
I'll be at the GDC all week. I'd be happy to chat with you (or anyone else interested in Box2D). If there is enough interest, we can organize a Box2D lunch.
My game project works fine with the new version. Hurrah!
I had to change Damagable::Damage and Bullet::Collide so they deactivate themselves (removing collision bodies) in a post-collision update instead of immediately, but that wasn't entirely unexpected and it's something I should port back to the main branch of the project. I also had to update the revolute joints generated by links between collidable entities with proper anchor points and reference angles. Aside from that, though, it wasn't too hard.
I haven't noticed any problems so far, so I'll be upgrading the main branch to use the new version after testing a bit more.
I had to change Damagable::Damage and Bullet::Collide so they deactivate themselves (removing collision bodies) in a post-collision update instead of immediately, but that wasn't entirely unexpected and it's something I should port back to the main branch of the project. I also had to update the revolute joints generated by links between collidable entities with proper anchor points and reference angles. Aside from that, though, it wasn't too hard.
I haven't noticed any problems so far, so I'll be upgrading the main branch to use the new version after testing a bit more.
This sounds awsome!
Our small team will proabably make the switch to 2.0.0 anytime soon, since it now seems to have exactly what we're missing.
I'd love to be able to come to GDC and hear your presentation Erin, but I'm afraid it's a bit too expensive for me as a student at the moment. 😉
But... A prototype of the game we're making will most likely be there, probably behind closed doors though... 🙂
Our small team will proabably make the switch to 2.0.0 anytime soon, since it now seems to have exactly what we're missing.
I'd love to be able to come to GDC and hear your presentation Erin, but I'm afraid it's a bit too expensive for me as a student at the moment. 😉
But... A prototype of the game we're making will most likely be there, probably behind closed doors though... 🙂
Hopefully this year I'll be able to make it to the physics tutorials -- last year I got appendicitis the day we arrived in SF!
Update:
I checked in a new contact listener and hooked it up to the testbed. It supports Add, Persist, and Remove events for each contact point. This leads to some nice visualizations in the testbed (see the pyramid).
My hope is that this listener will work well with sounds and game logic.
I checked in a new contact listener and hooked it up to the testbed. It supports Add, Persist, and Remove events for each contact point. This leads to some nice visualizations in the testbed (see the pyramid).
My hope is that this listener will work well with sounds and game logic.
It doesn't seem to be calling the listener for sensor shapes.
Ah you are right. I wanted to make sure the callbacks have the most recent forces, but of course sensor contacts don't make it into the simulation islands.
I found out after checking the application changes into my local SVN repository, of course... 😀
Everything seemed to be working great except the sensor shapes that mines use to trigger detonation. I don't use sensors much, but they're really useful for specialized cases like that.
Everything seemed to be working great except the sensor shapes that mines use to trigger detonation. I don't use sensors much, but they're really useful for specialized cases like that.
Original thread: https://box2d.org/forum/viewtopic.php?t=246