| Package | Description |
|---|---|
| com.jme3.bullet |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
com.jme3.math.Transform start,
com.jme3.math.Transform end)
Performs a sweep collision test and returns the results as a list of
PhysicsSweepTestResults
You have to use different Transforms for start and end (at least distance > 0.4f). |
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
com.jme3.math.Transform start,
com.jme3.math.Transform end,
java.util.List<PhysicsSweepTestResult> results) |
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
com.jme3.math.Transform start,
com.jme3.math.Transform end,
java.util.List<PhysicsSweepTestResult> results,
float allowedCcdPenetration)
Performs a sweep collision test and returns the results as a list of
PhysicsSweepTestResults
You have to use different Transforms for start and end (at least distance > allowedCcdPenetration). |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicsSpace.sweepTest_native(long shape,
com.jme3.math.Transform from,
com.jme3.math.Transform to,
long physicsSpaceId,
java.util.List<PhysicsSweepTestResult> results,
float allowedCcdPenetration) |
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
com.jme3.math.Transform start,
com.jme3.math.Transform end,
java.util.List<PhysicsSweepTestResult> results) |
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
com.jme3.math.Transform start,
com.jme3.math.Transform end,
java.util.List<PhysicsSweepTestResult> results,
float allowedCcdPenetration)
Performs a sweep collision test and returns the results as a list of
PhysicsSweepTestResults
You have to use different Transforms for start and end (at least distance > allowedCcdPenetration). |