com.jme3.bullet.collision
Class PhysicsRayTestResult

java.lang.Object
  extended by 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


Method Summary
 PhysicsCollisionObject getCollisionObject()
           
 float getHitFraction()
           
 Vector3f getHitNormalLocal()
           
 boolean isNormalInWorldSpace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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