com.jme3.bullet.collision
Class PhysicsSweepTestResult
java.lang.Object
com.jme3.bullet.collision.PhysicsSweepTestResult
public class PhysicsSweepTestResult
- extends java.lang.Object
Contains the results of a PhysicsSpace rayTest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhysicsSweepTestResult
public PhysicsSweepTestResult()
PhysicsSweepTestResult
public PhysicsSweepTestResult(PhysicsCollisionObject collisionObject,
Vector3f hitNormalLocal,
float hitFraction,
boolean normalInWorldSpace)
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
fill
public void fill(PhysicsCollisionObject collisionObject,
Vector3f hitNormalLocal,
float hitFraction,
boolean normalInWorldSpace)