Game Development Community

RayCast Position

by Caleb · in Torque Game Engine · 07/21/2006 (4:18 pm) · 1 replies

HOW DO I GET A RAY'S POSITION?!?! :(
I've tried just about everything in both script and C++, but I still can't find a way to get it's position.
Ive tried to work this out for to long now, and my brain is just about fried.

When I modeled my weapon, I put to nodes in. I can cast a ray between the two nodes, (at least I think I can).
now I just need to know how to do one of these things:

get Collision with Rays,
get Position of my Rays, or
learn how to continue living without this knowledge. [breathing intensely]

Maybe there's something I'm over looking.

Please............pleaseeeee help me.
Thanks.