public class PhysicsRayTestResult
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PhysicsCollisionObject |
getCollisionObject()
Access the collision object that was hit.
|
float |
getHitFraction()
Read the fraction of the ray's total length.
|
Vector3f |
getHitNormalLocal()
Access the normal vector at the point of contact.
|
boolean |
isNormalInWorldSpace()
Test whether the normal is in world space.
|
public PhysicsCollisionObject getCollisionObject()
public Vector3f getHitNormalLocal()
public float getHitFraction()
public boolean isNormalInWorldSpace()