[ODE] problems with Geom without body in debug mode

Sergey Beloshitsky sergey at rostok-games.com.ua
Mon Jan 24 19:37:12 MST 2005


ok now it is clear (i was not sure that it will always return 0, may be 
i need to look at souces more often :) )

Megan Fox wrote:

>JointAttach takes dBodyID arguments.  If you call dGeomGetBody() on a
>static geom, you get a zero as your return (as in, no body).  This is
>exactly the zero you need to pass to dJointAttach.  Or do you mean
>you're having some other problem with this?
>
>-Megan Fox
>
>  
>
>>so how in my near callback i will know that one of  geoms is static? I
>>need to know this to pass 0 to
>>
>>dJointAttach function
>>    
>>
>
>.
>
>  
>


-- 
Шукай в телефоні мій слід...



More information about the ODE mailing list