|
||||||||||
前 次 | フレームあり フレームなし |
com.jme3.bullet での CollisionShape の使用 |
---|
CollisionShape 型のパラメータを持つ com.jme3.bullet のメソッド | |
---|---|
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). |
com.jme3.bullet.collision での CollisionShape の使用 |
---|
CollisionShape を返す com.jme3.bullet.collision のメソッド | |
---|---|
CollisionShape |
PhysicsCollisionObject.getCollisionShape()
|
CollisionShape 型のパラメータを持つ com.jme3.bullet.collision のメソッド | |
---|---|
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. |
com.jme3.bullet.collision.shapes での CollisionShape の使用 |
---|
com.jme3.bullet.collision.shapes での CollisionShape のサブクラス | |
---|---|
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 |
CollisionShape 型のパラメータを持つ com.jme3.bullet.collision.shapes のメソッド | |
---|---|
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 |
com.jme3.bullet.collision.shapes.infos での CollisionShape の使用 |
---|
CollisionShape として宣言されている com.jme3.bullet.collision.shapes.infos のフィールド | |
---|---|
CollisionShape |
ChildCollisionShape.shape
|
CollisionShape 型のパラメータを持つ com.jme3.bullet.collision.shapes.infos のコンストラクタ | |
---|---|
ChildCollisionShape(Vector3f location,
Matrix3f rotation,
CollisionShape shape)
|
com.jme3.bullet.control での CollisionShape の使用 |
---|
CollisionShape 型のパラメータを持つ com.jme3.bullet.control のコンストラクタ | |
---|---|
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)
|
com.jme3.bullet.objects での CollisionShape の使用 |
---|
CollisionShape 型のパラメータを持つ com.jme3.bullet.objects のメソッド | |
---|---|
void |
PhysicsCharacter.setCollisionShape(CollisionShape collisionShape)
|
void |
PhysicsGhostObject.setCollisionShape(CollisionShape collisionShape)
|
void |
PhysicsRigidBody.setCollisionShape(CollisionShape collisionShape)
|
CollisionShape 型のパラメータを持つ com.jme3.bullet.objects のコンストラクタ | |
---|---|
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)
|
com.jme3.bullet.util での CollisionShape の使用 |
---|
CollisionShape を返す com.jme3.bullet.util のメソッド | |
---|---|
static CollisionShape |
CollisionShapeFactory.createBoxShape(Spatial spatial)
|
static CollisionShape |
CollisionShapeFactory.createDynamicMeshShape(Spatial spatial)
This method creates a hull shape for the given Spatial. |
static CollisionShape |
CollisionShapeFactory.createMeshShape(Spatial spatial)
This type of collision shape is mesh-accurate and meant for immovable "world objects". |
CollisionShape 型のパラメータを持つ com.jme3.bullet.util のメソッド | |
---|---|
static Mesh |
DebugShapeFactory.getDebugMesh(CollisionShape shape)
|
static Spatial |
DebugShapeFactory.getDebugShape(CollisionShape collisionShape)
Creates a debug shape from the given collision shape. |
|
||||||||||
前 次 | フレームあり フレームなし |