hmi.elckerlyc.world
Class WorldObject
java.lang.Object
hmi.elckerlyc.world.WorldObject
public class WorldObject
- extends Object
Contains an entity in the world that can be pointed at, talked about etc.
- Author:
- welberge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
joint
private VJoint joint
mTemp1
private float[] mTemp1
trTemp
private float[] trTemp
trTempToParent
private float[] trTempToParent
WorldObject
public WorldObject(VJoint vj)
getWorldTranslation
public void getWorldTranslation(float[] tr)
- Get the world position of the object
- Parameters:
tr - output: the world position of the object
getTranslation
public void getTranslation(float[] tr,
VJoint vj)
- Get the position of the world object in the coordinate system of vj.
This joint and vj are assumed to be in the same joint tree, but can be in different branches of the tree.
- Parameters:
tr - output: the position of the world object
getTranslation2
public void getTranslation2(float[] tr,
VJoint vj)
- Get the position of the world object in the coordinate system of vj, minus the rotation of vj.
This joint and vj are assumed to be in the same joint tree, but can be in different branches of the tree.
- Parameters:
tr - output: the position of the world object
getJoint
public VJoint getJoint()
- Returns:
- the joint