1) ![]()
public Ray (
Vector3 position, //Begin vector
Vector3 direction //End position vector
Is really Directional vector ![]()
position (x0,y0,z0)------------->(x1,y1,z1);
2) Ray.Intesect(xx) return a float value .. what is its ecuation ![]()
could be its use like magnitude of a vector of overlapping between two shapes ![]()
THK!! :)

Ray Ecuation? (collision-response)
lee d
The direction is a unit vector represents the ray direction.
If the return value is zero, it means the ray origin is inside the bounding volume. If the return value is null, it means the ray doesn't intersect with the volume. The positive value is the distance from the origin to the intersection point. You can calculate the intersecting point by = position + (direction * distance)