|
Post by kjelle69 on Aug 18, 2004 13:42:19 GMT 1
Is it possible to register collisions and extract collisiondata between two object of the same material ?
Eg.: NDB_GetCollision( Balls(t).BodyNum, Balls(i).BodyNum)
I cant get this to work, no error but no registered collisions when looping through it.
|
|
|
Post by kjelle69 on Aug 18, 2004 14:04:01 GMT 1
Hmm did I solve it:
NDB_NewtonMaterialSetCollisionCallback RoomMat, BallMat
Added: NDB_NewtonMaterialSetCollisionCallback BallMat, BallMat
Same same , but different :-)
|
|
|
Post by Kjelle69 on Aug 19, 2004 4:50:16 GMT 1
yup, that's the solution in Ragdoll Monkey Bowling I did the same thing, to register pins hitting other pins (for sound effects)
|
|