warning: Creating default object from empty value in /home/boristhebrave/ on line 33.
This project has since been committed into the main branch. Check official releases for this feature.

Controller Grab Pack

Mon, 10/06/2008 - 00:45 — Boris

After the success of b2BuoyancyController, I'm releasing a pack of useful controllers to do other common tasks. I hope you appreciate this, these were boring to write. Demo

Read more


Mon, 09/15/2008 - 00:00 — Boris

Following the poll, buoyancy seemed to be the popular choice for Box2D feature. I decided against the fancy and probably unreliable technique I was going to use, and have produced a "controller" based on good old, geometry, cribbing a fair amount of Erin Catto's notes on the subject. Demo

Read more

Box2D Raycasts

Thu, 09/04/2008 - 22:50 — Boris

Box2D has always had a function called TestSegment for colliding segments with shapes, but it really needed conversion into proper raycasts. Check out a Demo.

I've implemented this in Flash and C++. It's the real deal: it uses Box2D's internal sweep and prune structure for efficient calculations. You should see the best performance gains on the previous naive solutions when doing very long diagonal casts, or when doing a long cast that hits something immediately.

Read more

Syndicate content