iwanantonowitsch
27-02-2011 22:25:35
Hi there,
ive got another problem with ogreode:
how could i track back which objects collide with each other? for example: i shoot something with a bullet and i hit something and want to find out, what it is.
i tried creating different types of objects to track them (so a bullet would have resulted in beeing a "bullet" type). but how i did it (i think i assigned a type to every bodyID or geomID) was neither very efficient nor did it really work.
So i ask you guys how you tracked your objects
maybe we could make a wiki article out of this one
EDIT: How can it be that such a basic subject cant be answered in a week? Why is noone interested in answering?
EDIT2: After some research i think multiple collision spaces could be a solution but how would i implement this (a geom cant be element of 2 spaces??? - do i have to double everything i want to have in 2 spaces?)?
If this is completely wrong please post another idea -- i cant be the first one to implement this or am i? what the heck are these query flags for? please guys help... or even if you have no clue just post to let me feel there is someone really paying attention to this forum
ive got another problem with ogreode:
how could i track back which objects collide with each other? for example: i shoot something with a bullet and i hit something and want to find out, what it is.
i tried creating different types of objects to track them (so a bullet would have resulted in beeing a "bullet" type). but how i did it (i think i assigned a type to every bodyID or geomID) was neither very efficient nor did it really work.
So i ask you guys how you tracked your objects
maybe we could make a wiki article out of this one
EDIT: How can it be that such a basic subject cant be answered in a week? Why is noone interested in answering?
EDIT2: After some research i think multiple collision spaces could be a solution but how would i implement this (a geom cant be element of 2 spaces??? - do i have to double everything i want to have in 2 spaces?)?
If this is completely wrong please post another idea -- i cant be the first one to implement this or am i? what the heck are these query flags for? please guys help... or even if you have no clue just post to let me feel there is someone really paying attention to this forum