Raycasting...
Posted: Wed May 20, 2009 2:28 pm
Hi all,
I've a question regarding (Space).rayCast... imagine to have 5 cube aligned along X axis (or Z or Y it doesn't matter!). They are part of one compoundbody. When i perform a ray cast, if the ray transfix all five cubes (or in another words, all the lenght of the compound body) i receive only one hitEntities (the first cube) and not all the five. I imagine this is due to the fact in reality there's only one compoundbody... it's true? There's a way to receive all 5 entities?
Thanks for helps!
Fax3D
I've a question regarding (Space).rayCast... imagine to have 5 cube aligned along X axis (or Z or Y it doesn't matter!). They are part of one compoundbody. When i perform a ray cast, if the ray transfix all five cubes (or in another words, all the lenght of the compound body) i receive only one hitEntities (the first cube) and not all the five. I imagine this is due to the fact in reality there's only one compoundbody... it's true? There's a way to receive all 5 entities?
Thanks for helps!
Fax3D