|
Post by Tom Taylor on Jun 9, 2005 20:39:41 GMT 1
NDB_GetCollisionBody syntax: body = NDB_GetCollisionData( index, body ) index index to collision data (int) body index of collision body *1-2 (int) returns: nothing Comments: this will return the index to a body involved in the collision. You can get the bodies involved in the collision by passing a 1 or 2 into the second parameter of the function.
Well, how about this command? It doesn't work in DBPro for no way. Only way to compile succesfully is in this way: NDB_GetCollisionData value
Hm, where do I get my data? What with the parameters? I really need some help with this, because it is perfect for finding the "hidden" body from any collision object WITHOUT looping any possible bodys...
Thank you!
|
|
|
Post by Tom Taylor on Jun 9, 2005 20:41:05 GMT 1
Sry, I don't mean "hidden" ... I mean "body which was hit" :-)
|
|
|
Post by Kjelle69 on Jun 11, 2005 8:59:29 GMT 1
sonds like an error in the wrapper code somewhere... Kjelle?
|
|