CastHit hit = XenoPhysicsManager.Instance.Raycast(new Vector3(20, 10, 0), new Vector3(0, -1, 0), 20);

if (hit.Hit)
{
TestModel.LocalPosition = hit.ImpactPoint;
}

Last edited Oct 4, 2009 at 1:02 AM by AntonyWells, version 1

Comments

No comments yet.