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.
*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.