Ray intersection with foliages
by Jari · in Torque Game Engine · 07/16/2006 (12:19 am) · 1 replies
Hi,
what kind of engine changes do you think it would require to allow raycast to intersect with one of the foliages produced by the fxFoliageReplicator? I'm thinking that all of the foliages should be iterated through and some kind of intersection check should be made but the problem is that I don't know how to determine if the ray intersects with the foliage.
So any help/tips are appreciated!
what kind of engine changes do you think it would require to allow raycast to intersect with one of the foliages produced by the fxFoliageReplicator? I'm thinking that all of the foliages should be iterated through and some kind of intersection check should be made but the problem is that I don't know how to determine if the ray intersects with the foliage.
So any help/tips are appreciated!
Torque Owner Paul /*Wedge*/ DElia