[HELP] find joint in scene ?

tsky

07-12-2006 10:33:26

Hi,

is it possible to find/get a joint-type in the scene ?

I found methods for searching bodies and materials but no joints...

I am right going this way ? Or is there a better way to get a joint which is in scene and connects to bodies ?

There is a list in the nxscene. Only no method for using that extern. Will that be in next versions ?

Tom

betajaen

07-12-2006 11:53:15

Scene doesn't really do anything to joints except stores them in a vector, and that is only used for breakable joints. Infact I'm pretty sure Scene doesn't even delete them on shutdown.

I shall be cleaning up joints in the next release or two (probably the latter), but for now keep a copy of the pointer of a joint in your own vector, then access it that way.