Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( proxy0->m_clientObject == cylinderBody )
- {
- return ( proxy1->m_clientObject == cylinderBody ); // cylinder must only collide with cylinder
- }
- if ( proxy0->m_clientObject == boxBody )
- {
- return ( proxy1->m_clientObject == sphereBody ); // box must only collide with sphere
- }
- if ( proxy0->m_clientObject == sphereBody )
- {
- return ( proxy1->m_clientObject == boxBody ); // sphere must only collide with box
- }
- if ( proxy1->m_clientObject == cylinderBody )
- {
- return ( proxy0->m_clientObject == cylinderBody ); // cylinder must only collide with cylinder
- }
- if ( proxy1->m_clientObject == boxBody )
- {
- return ( proxy0->m_clientObject == sphereBody ); // box must only collide with sphere
- }
- if ( proxy1->m_clientObject == sphereBody )
- {
- return ( proxy0->m_clientObject == boxBody ); // sphere must only collide with box
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement