JV-ODE Physics Wrapper

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Wrapper

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks Viper.

*feature request* it is necessary in a lot of circumstances - such as a snooker game, to get a list of other bodies we have collided with. These could just be the body handles if you like.

Somehow, you'll need to query a list per object. For example the wrong ball is hit in Pool.

I have no idea how you'll do this, but you could possibly make this constant by using SetMaxContacts as a guide.

For example the programmer could then make a bank for each object, and that bank will be filled with a GetCollisions(bank,rigidbody) command...

And then it will be a list of int handles to each rigid body which collided with us. This is a powerful way to quickly build a list without callbacks.