|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSGPhysics.SGBody
SGPhysics.DynamicBody
public class DynamicBody
| Field Summary | |
|---|---|
Tuple.Tuple3f |
acc
|
Tuple.Tuple3f |
DX
|
Tuple.Tuple3f |
lastPos
|
| Fields inherited from class SGPhysics.SGBody |
|---|
camDist, die, mass, pos |
| Constructor Summary | |
|---|---|
DynamicBody(Tuple.Tuple3f pos)
Creates a new instance of Body |
|
| Method Summary | |
|---|---|
Tuple.Tuple3f |
getDX()
|
void |
impulse(Tuple.Tuple3f dir)
|
void |
update(PhysicsEngine engine)
|
| Methods inherited from class SGPhysics.SGBody |
|---|
calcDist, getPosition, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Tuple.Tuple3f lastPos
public Tuple.Tuple3f acc
public Tuple.Tuple3f DX
| Constructor Detail |
|---|
public DynamicBody(Tuple.Tuple3f pos)
| Method Detail |
|---|
public void update(PhysicsEngine engine)
update in class SGBodypublic Tuple.Tuple3f getDX()
public void impulse(Tuple.Tuple3f dir)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||