OgreNewt raycast subentity

Lax

30-08-2011 09:46:13

Hi,

does somebody know, if it is possible somehow to get from raycast not only the body and the node, but the hit subEntity? This would be useful, if you have complex buildings with several subentities, to get the proper one.

Lax

SFCBias

30-08-2011 11:56:52

You must create a collision/body for each sub entity. I believe giving them separate ID's should suffice.

Lax

30-08-2011 14:47:36

oh jeh, I think this should do the trick^^. Thanks!