| Package | Description |
|---|---|
| com.bonzaiengine.gamekit.component | |
| com.bonzaiengine.gamekit.util | |
| com.bonzaiengine.physics |
| Modifier and Type | Field and Description |
|---|---|
CollisionShape |
CollisionShapeComponent.shape |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicRenderer.drawCollisionShapeDebug(Renderer renderer,
CollisionShape shape,
Transform t,
RenderState renderState,
boolean setColor,
Lights<?> lights,
boolean solid,
boolean wireframe) |
Model |
PhysicRenderer.getCache(CollisionShape collisionShape) |
| Modifier and Type | Field and Description |
|---|---|
protected CollisionShape |
CollisionObject.collisionShape |
| Modifier and Type | Method and Description |
|---|---|
CollisionShape |
PhysicWorld.createBoxCollisionShape(Vec3 boxSize) |
CollisionShape |
PhysicWorld.createBvhTriangleCollisionShape(GeometryData geometry) |
CollisionShape |
PhysicWorld.createCapsuleCollisionShape(float height,
float radius) |
CollisionShape |
PhysicWorld.createCompoundShape() |
CollisionShape |
PhysicWorld.createConvexHullCollisionShape(Vec3Array vertices) |
CollisionShape |
PhysicWorld.createCylinderCollisionShape(float height,
float radius) |
CollisionShape |
PhysicWorld.createPlaneCollisionShape(Plane plane) |
CollisionShape |
PhysicWorld.createSphereCollisionShape(float radius) |
CollisionShape |
CollisionShape.getChildShape(int index) |
CollisionShape |
CollisionObject.getCollisionShape() |
protected static CollisionShape |
CollisionShape.getCollisionShape(long collisionShapeId) |
| Modifier and Type | Method and Description |
|---|---|
void |
CollisionShape.addChildShape(Transform t,
CollisionShape shape)
Add collision shape for compound shape type
|
protected static Transform |
CollisionObject.applyCollisionTransform(Transform t,
CollisionShape collisionShape,
Transform transform) |
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. |
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. |
GhostObject |
PhysicWorld.createGhostObject(CollisionShape shape) |
RigidBody |
PhysicWorld.createRigidBody(CollisionShape shape,
Transform t,
float mass) |
RigidBody |
PhysicWorld.createRigidBody(CollisionShape shape,
Transform t,
float mass,
boolean inertia) |
void |
CollisionObject.setCollisionShape(CollisionShape shape) |
void |
RigidBody.setCollisionShape(CollisionShape shape) |
void |
SoftBody.setCollisionShape(CollisionShape shape) |
void |
PhysicWorld.updateBoxCollisionShape(CollisionShape boxShape,
Vec3 boxSize) |
void |
PhysicWorld.updateCapsuleCollisionShape(CollisionShape capsuleShape,
float height,
float radius) |
void |
PhysicWorld.updateChilds(CollisionShape compoundShape,
ConvexDecomposition convexDecomposition) |
void |
PhysicWorld.updateChildTransform(CollisionShape compoundShape,
int index,
Transform src) |
void |
PhysicWorld.updateCylinderCollisionShape(CollisionShape cylinderShape,
float height,
float radius) |
void |
PhysicWorld.updateSphereCollisionShape(CollisionShape sphereShape,
float radius) |
| Constructor and Description |
|---|
GhostObject(PhysicWorld physicWorld,
CollisionShape shape) |
RigidBody(PhysicWorld physicWorld,
CollisionShape shape,
float mass,
Transform transform,
boolean inertia) |
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