Whips

In case you haven’t noticed, there’s a labs *section* for little experiments like below. This post’ll also be under that section for archival purposes =D

For now, I’m just trying to test the limits of a ‘rod’ based system where each segment of the rope is only allowed to bend a certain amount. (In hindsight, I’ve no idea why I wanted the angle limiting, since ropes can coil fairly tightly). After some experimenting I found that I could only establish a “semi-stable” rod by limiting the angles to +- one degree. That’s INSANE. If I push it to even 5 degrees, the whole system collapses. I can’t even imagine what’d happen if players were fling that around. Anyways, a demo paints a thousand pictures =P

Get Adobe Flash player

As you can see, box2D’s solver is wildly inaccurate. That simulation is run a 30fps with 30 iterations per frame. If I ever add game logic or even graphics you can expect it to lag…if it isn’t already.

I’m going to keep experimenting with this and see if I can’t get it more stable.

    • Andrew
    • February 26th, 2010

    Shiiiiiiba
    When did you have such talent in this?
    :)

  1. No trackbacks yet.

blog comments powered by Disqus