LineSegment is a line. A face has a normal. Calculate the directional vector of your line and see where it hits the face plane. Take a look in regular away at core.geom.Plane3D and at materials.utils.data.Ray. All the code or principle you need are in there.

Sent from an iPhone without Flash

On Apr 23, 2010, at 7:30, Sevdanski <[email protected]> wrote:

Hi Guys,

I'm working on a project at the moment and I need to calculate where a
line segment collides with a mesh.

I've been reading tutorials / wikis on collision detection, and I get
the jist, but I am having a hard time translating that into Away3D
Lite.

Any pointers / experiences / examples would be greatly appreciated.

Cheers,
Sev


--
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en

Reply via email to