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

They are pretty simple to use, look at the individual comments for specific help.
Apart from b2SpringController, they all control arbitrary amounts of bodies at once, by the same interface. So one of the first things you'd want to add to your framework is to allow controllers to track which bodies are in contact with a given sensor.

Also, you will probably notice that sleeping bodies are blue in this demo. Well, they are meant to be blue, apparently no one noticed the bug that made them red. (the C++ version is blue).

I've made certain design... compromises in these controllers. They don't explicitly hook up to the engine, and they don't reflect cause and effect. This has a few problems that will bother any high end user, mainly that the controllers behave a bit oddly with respect to sleeping. I could have set up controllers as an analogue to joints, which doesn't have these problems, and automatically destroys etc. But joints only apply between two bodies, and the system gets way more complicated once you lift that restriction.

AttachmentSize
Box2DAS3 v2.0.1 - Controllers.zip402.52 KB
Box2D v2.0.1 - Controllers.zip276.86 KB

All the stuff you're doing

All the stuff you're doing with box2d is great!
Keep that up!

One thing that would make at least my life easier would be if you just kept updating one folder with ALL the stuff you have done with box2d.
So that we others don't need to copy and past a ton of files if we for example want to use Raycast and boyancy in the same game C:

Any ways! I luv what ur doing!

Great stuff

Already know what I want to do with this baby - will giev you a link when and if I pull it off :]

tensorController

Just wanted to say thanks for writing the boring stuff!

It really is appreciated - i have already managed to put your tensor controller to use for top down vehicle physics, its a pity they never sleep but i guess vehicles are rarely still anyway :-)

Cheers!

I'm slowly getting these

I'm slowly getting these features up in the official version. So I don't see it as necessary to merge them on the site. Plus I'm putting off sorting out raycasts and buoyancy for concave arcs.

@NW: Please do.

Box2D v2.0.1 - Controllers.zip link doesn't work

Hi,

I would love to use you're controllers but the link for the C++ version is down!

Please re-upload or email me the files, I was really looking forward to using them.

Cheers!

finally

hey,

Happy new year :)

also: I'm finally downloading this with the purpose of actually using it ^^.

You Rock

Dude, seriously I love it, your controller pack rocks, Im loving the Buoyancy Controller and the Spring Controller is just what I needed for some things.

THANKS!

Thank you

Thank you very much Boris ,you really made my day! Keep it up!

Thanks!

Boris, thank you VERY much!!!

Rotation Damping

Awesome Job!
I tried the b2TensorDampingController. The x and y speed is damping fine, but is there also the ability to damp the rotation speed?

Rotation Damping

mmKSJYzUEkpTj

npIIHsspXUD

rjukan, viagra 100 mg tablet, jkatzg, buy viagra 25mg, :-[[[,

kobXqdHXRBURZMFn

usino, viagra 20, 8099, viagra 50mg or 100mg, =-OO, viagra 25 mg, 4946,

oRSDAdIVbitwp

steckt, viagra 25 mg online, 8-)), viagra 12.5mg, :-[[, viagra 150 mg, chr,

ldRbIlFqQscbapbgV

forarsake, viagra 25 mg online, 773531, viagra 25 mg price, :], viagra 100, 376820,

udmGCTeNkCxmcU

DedVkyZjpqdqjOBCd

snudde, comprar viagra en linea, 8-[[[, viagra 10 mg, abjg,

NSroeYrgMejQ

BGlRMojqcixCxiVkQcv

partol, viagra 25, %-]], viagra 20 years old, 4918,

pOlDidvpKnQ

fortelle, viagra 100mg dosage, =-[[, viagra 100mg pfizer, %]]],

XgtsikVzOX

journaux, viagra 200mg, 17153, viagra 20, :-)),

IqYJaCIpYSDYakUApI

VsPdckoPqRJ

metier, viagra 100mg cost, 18064, viagra 100, zevfco, viagra 10 pills, enmedp,

AljshQzYXUox

UGWIGfteRHPKTgWLi

kylmin, viagra 100mg generic, wqdtkx, viagra 150 mg, 06254, viagra 1998, 8-OOO,

jbQSlZUkVRwZYQ

taytyy, viagra 25 mg, =[, viagra 1998, 068,

HTmBHZDDXQWLVbezHd

musicale, viagra 25 mg online, 8-((, viagra 20, mxx, viagra 100, 8-((,

pzbLXHFXFefSSn

QLCXJihIWOcVMRkNJeZ

tenerse, viagra 100mg reviews, oxza, viagra 25, 406,

KenuqmclSdhMYNbWffj

metallilasta, comprar viagra, =((, viagra 25 mg price, :),

saXiwXsJVNBNNk

ereztette, viagra 25 mg online, hrku, buy viagra 25mg, 8659,

BhlzVIrBkNFUNLmPz

traumatismos, cheapest viagra 50 mg, mebazd, generic viagra india, 7457,

uZuevJGdTvtRexW

sinverser, cialis drug, >:-)), generic india viagra, 38137,

slJpqamCpkeBmh

RWjIlaiYxGGcFB

SMdQLjKpttSTzf

marcellino, cialis uk chemist, 121, dur?e effet viagra, 1193,

bfbEzayPnXKJdTa

lxzjnGkACvqnIssflk

xmSlthDXZbHxfcnZiH

YPHYCEKCZbeVA

EIBUaWyMsxROhJmjvw

nnWwgUlLZdAUdxfuMO

CjBGoMwHBVswX

fogo, viagra no prescription, 756034, viagra wiki, gdgoen,

puuQRocqyZEs

brugen, viagra online cheap, >:[[[, purchase viagra, =-[,

OfGILNNcGhVOd

denuncias, natural viagra, pqe, viagra wiki, wuradw,

OeTvzEGLac

tramper, sildenafil, rxk, viagra canada pharmacy, 8-]],

BxtXvglIMnB

livorno, buy viagra cheap, pas, viagra man, xrjitp,

JTSbFujuUlI

teemu, best viagra, :O, viagra commander, %[,

KfRDnBPuRnBMxB

engagerade, free viagra samples, 752, cialis tadalafil, bnufeu,

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.