com.jme3.bullet.collision
Class PhysicsRayTestResult
java.lang.Object
com.jme3.bullet.collision.PhysicsRayTestResult
public class PhysicsRayTestResult
- extends java.lang.Object
Contains the results of a PhysicsSpace rayTest
bulletAppState.getPhysicsSpace().rayTest(new Vector3f(0,1000,0),new Vector3f(0,-1000,0));
javap -s java.util.List
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCollisionObject
public PhysicsCollisionObject getCollisionObject()
- Returns:
- the collisionObject
getHitNormalLocal
public Vector3f getHitNormalLocal()
- Returns:
- the hitNormalLocal
getHitFraction
public float getHitFraction()
- Returns:
- the hitFraction
isNormalInWorldSpace
public boolean isNormalInWorldSpace()
- Returns:
- the normalInWorldSpace