|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.physics.collision.CollideableBase
org.xith3d.physics.collision.collideable.CapsuleCollideable
public abstract class CapsuleCollideable
A capsule collideable.
| Constructor Summary | |
|---|---|
CapsuleCollideable(CollisionEngine eng,
float radius,
float length)
Creates a new CapsuleCollideable. |
|
| Method Summary | |
|---|---|
Capsule |
getBaseGFX()
|
Capsule |
getDebugGFX()
|
static Appearance |
getDefaultAppearance()
|
java.lang.String |
getInfo()
|
float |
getLength()
|
float |
getRadius()
|
java.lang.String |
getType()
|
static void |
setDefaultAppearance(Appearance app)
|
static void |
setDefaultAppearance(java.lang.String texture)
|
static void |
setDefaultAppearance(Texture texture)
|
void |
setLength(float length)
Changes the length of this Capsule. |
void |
setRadius(float radius)
Changes the radius of this Capsule. |
| Methods inherited from class org.xith3d.physics.collision.CollideableBase |
|---|
applyWorldPosition, applyWorldRotation, getBody, getEngine, getName, getParent, getPosition, getPosition, getRotation, getRotation, getRotationMatrix, getRotationMatrix, getUserObject, getWorldPos, getWorldPos, getWorldRot, getWorldRot, getWorldRotMat, getWorldRotMat, recomputeChildrenWorldCoords, recomputeWorldCoords, recomputeWorldPos, recomputeWorldRotMat, setBody, setName, setParent, setPosition, setPosition, setPosition, setPositionX, setPositionY, setPositionZ, setRotation, setRotation, setRotation, setRotationMatrix, setRotationMatrix, setRotationX, setRotationY, setRotationZ, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.physics.collision.Collideable |
|---|
isEnabled, setEnabled |
| Constructor Detail |
|---|
public CapsuleCollideable(CollisionEngine eng,
float radius,
float length)
eng - radius - length - | Method Detail |
|---|
public static void setDefaultAppearance(Appearance app)
public static void setDefaultAppearance(Texture texture)
public static void setDefaultAppearance(java.lang.String texture)
public static Appearance getDefaultAppearance()
public final java.lang.String getInfo()
public final java.lang.String getType()
public Capsule getBaseGFX()
Collideable.getDebugGFX()public Capsule getDebugGFX()
Collideable.getBaseGFX()public void setRadius(float radius)
radius - the new radiuspublic final float getRadius()
public void setLength(float length)
length - the new lengthpublic final float getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||