| Package | Description |
|---|---|
| com.bonzaiengine.physics |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicWorld.convexSweepTest(CollisionShape collisionShape,
Transform convexFromWorld,
Transform convexToWorld,
ITestResultCallback callback)
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. |
void |
PhysicWorld.rayTest(Vec3 rayFromWorld,
Vec3 rayToWorld,
ITestResultCallback callback)
From Bullet:
rayTest performs a raycast 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 returned by the callback. |
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