|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CollisionShape in com.jme3.bullet |
---|
Methods in com.jme3.bullet with parameters of type CollisionShape | |
---|---|
java.util.List<PhysicsSweepTestResult> |
PhysicsSpace.sweepTest(CollisionShape shape,
Transform start,
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,
Transform start,
Transform end,
java.util.List<PhysicsSweepTestResult> results)
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). |
Uses of CollisionShape in com.jme3.bullet.collision |
---|
Fields in com.jme3.bullet.collision declared as CollisionShape | |
---|---|
protected CollisionShape |
PhysicsCollisionObject.collisionShape
|
Methods in com.jme3.bullet.collision that return CollisionShape | |
---|---|
CollisionShape |
PhysicsCollisionObject.getCollisionShape()
|
Methods in com.jme3.bullet.collision with parameters of type CollisionShape | |
---|---|
void |
PhysicsCollisionObject.setCollisionShape(CollisionShape collisionShape)
Sets a CollisionShape to this physics object, note that the object should not be in the physics space when adding a new collision shape as it is rebuilt on the physics side. |
Uses of CollisionShape in com.jme3.bullet.collision.shapes |
---|
Subclasses of CollisionShape in com.jme3.bullet.collision.shapes | |
---|---|
class |
BoxCollisionShape
Basic box collision shape |
class |
CapsuleCollisionShape
Basic capsule collision shape |
class |
CompoundCollisionShape
A CompoundCollisionShape allows combining multiple base shapes to generate a more sophisticated shape. |
class |
ConeCollisionShape
|
class |
CylinderCollisionShape
Basic cylinder collision shape |
class |
GImpactCollisionShape
Basic mesh collision shape |
class |
HeightfieldCollisionShape
Uses Bullet Physics Heightfield terrain collision system. |
class |
HullCollisionShape
|
class |
MeshCollisionShape
Basic mesh collision shape |
class |
PlaneCollisionShape
|
class |
SimplexCollisionShape
A simple point, line, triangle or quad collisionShape based on one to four points- |
class |
SphereCollisionShape
Basic sphere collision shape |
Methods in com.jme3.bullet.collision.shapes with parameters of type CollisionShape | |
---|---|
void |
CompoundCollisionShape.addChildShape(CollisionShape shape,
Vector3f location)
adds a child shape at the given local translation |
void |
CompoundCollisionShape.addChildShape(CollisionShape shape,
Vector3f location,
Matrix3f rotation)
adds a child shape at the given local translation |
void |
CompoundCollisionShape.removeChildShape(CollisionShape shape)
removes a child shape |
Uses of CollisionShape in com.jme3.bullet.collision.shapes.infos |
---|
Fields in com.jme3.bullet.collision.shapes.infos declared as CollisionShape | |
---|---|
CollisionShape |
ChildCollisionShape.shape
|
Constructors in com.jme3.bullet.collision.shapes.infos with parameters of type CollisionShape | |
---|---|
ChildCollisionShape(Vector3f location,
Matrix3f rotation,
CollisionShape shape)
|
Uses of CollisionShape in com.jme3.bullet.control |
---|
Constructors in com.jme3.bullet.control with parameters of type CollisionShape | |
---|---|
CharacterControl(CollisionShape shape,
float stepHeight)
|
|
GhostControl(CollisionShape shape)
|
|
RigidBodyControl(CollisionShape shape)
Creates a new PhysicsNode with the supplied collision shape and mass 1 |
|
RigidBodyControl(CollisionShape shape,
float mass)
|
|
VehicleControl(CollisionShape shape)
Creates a new PhysicsNode with the supplied collision shape |
|
VehicleControl(CollisionShape shape,
float mass)
|
Uses of CollisionShape in com.jme3.bullet.objects |
---|
Methods in com.jme3.bullet.objects with parameters of type CollisionShape | |
---|---|
void |
PhysicsCharacter.setCollisionShape(CollisionShape collisionShape)
|
void |
PhysicsGhostObject.setCollisionShape(CollisionShape collisionShape)
|
void |
PhysicsRigidBody.setCollisionShape(CollisionShape collisionShape)
|
Constructors in com.jme3.bullet.objects with parameters of type CollisionShape | |
---|---|
PhysicsCharacter(CollisionShape shape,
float stepHeight)
|
|
PhysicsGhostObject(CollisionShape shape)
|
|
PhysicsGhostObject(Spatial child,
CollisionShape shape)
|
|
PhysicsRigidBody(CollisionShape shape)
Creates a new PhysicsRigidBody with the supplied collision shape |
|
PhysicsRigidBody(CollisionShape shape,
float mass)
|
|
PhysicsVehicle(CollisionShape shape)
|
|
PhysicsVehicle(CollisionShape shape,
float mass)
|
Uses of CollisionShape in com.jme3.bullet.util |
---|
Methods in com.jme3.bullet.util that return CollisionShape | |
---|---|
static CollisionShape |
CollisionShapeFactory.createBoxShape(Spatial spatial)
|
static CollisionShape |
CollisionShapeFactory.createDynamicMeshShape(Spatial spatial)
This method creates a hull shape for the given Spatial. If you want to have mesh-accurate dynamic shapes (CPU intense!!!) use GImpact shapes, its probably best to do so with a low-poly version of your model. |
static CollisionShape |
CollisionShapeFactory.createMeshShape(Spatial spatial)
This type of collision shape is mesh-accurate and meant for immovable "world objects". |
Methods in com.jme3.bullet.util with parameters of type CollisionShape | |
---|---|
static Mesh |
DebugShapeFactory.getDebugMesh(CollisionShape shape)
|
static Spatial |
DebugShapeFactory.getDebugShape(CollisionShape collisionShape)
Creates a debug shape from the given collision shape. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |