public static class btSoftBody.Body extends BulletBase
className| Constructor and Description |
|---|
Body() |
Body(btCollisionObject colObj) |
Body(btSoftBody.Cluster p) |
Body(long cPtr,
boolean cMemoryOwn)
Construct a new Body, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
Vector3 |
angularVelocity() |
Vector3 |
angularVelocity(Vector3 rpos) |
void |
applyAImpulse(btSoftBody.Impulse impulse) |
void |
applyDAImpulse(Vector3 impulse) |
void |
applyDCImpulse(Vector3 impulse) |
void |
applyDImpulse(Vector3 impulse,
Vector3 rpos) |
void |
applyImpulse(btSoftBody.Impulse impulse,
Vector3 rpos) |
void |
applyVAImpulse(Vector3 impulse) |
void |
applyVImpulse(Vector3 impulse,
Vector3 rpos) |
btCollisionObject |
getCollisionObject() |
static long |
getCPtr(btSoftBody.Body obj) |
btRigidBody |
getRigid() |
btSoftBody.Cluster |
getSoft() |
float |
invMass() |
Matrix3 |
invWorldInertia() |
Vector3 |
linearVelocity() |
void |
setCollisionObject(btCollisionObject value) |
void |
setRigid(btRigidBody value) |
void |
setSoft(btSoftBody.Cluster value) |
Vector3 |
velocity(Vector3 rpos) |
Matrix4 |
xform() |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic Body(long cPtr,
boolean cMemoryOwn)
public Body()
public Body(btSoftBody.Cluster p)
public Body(btCollisionObject colObj)
public static long getCPtr(btSoftBody.Body obj)
public void setSoft(btSoftBody.Cluster value)
public btSoftBody.Cluster getSoft()
public void setRigid(btRigidBody value)
public btRigidBody getRigid()
public void setCollisionObject(btCollisionObject value)
public btCollisionObject getCollisionObject()
public void activate()
public Matrix3 invWorldInertia()
public float invMass()
public Matrix4 xform()
public Vector3 linearVelocity()
public Vector3 angularVelocity()
public void applyImpulse(btSoftBody.Impulse impulse, Vector3 rpos)
public void applyVAImpulse(Vector3 impulse)
public void applyDAImpulse(Vector3 impulse)
public void applyAImpulse(btSoftBody.Impulse impulse)
public void applyDCImpulse(Vector3 impulse)
Copyright © 2021. All rights reserved.