| Package | Description |
|---|---|
| com.bonzaiengine.physics |
| Modifier and Type | Method and Description |
|---|---|
TestResult |
PhysicWorld.closestConvexSweepTest(CollisionShape collisionShape,
Transform convexFromWorld,
Transform convexToWorld)
From Bullet
convexTest performs a swept convex cast on all objects in the PhysicWorld, and calls the resultCallback
This allows for several queries: first hit, all hits, any hit, dependent on the value return by the callback. |
TestResult |
PhysicWorld.closestRayTest(Vec3 rayFromWorld,
Vec3 rayToWorld) |
| Modifier and Type | Method and Description |
|---|---|
float |
ITestResultCallback.addResult(TestResult result) |
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com