net.java.dev.joode.joint
Class JointBall
java.lang.Object
net.java.dev.joode.WorldObject
net.java.dev.joode.joint.Joint
net.java.dev.joode.joint.JointBall
- All Implemented Interfaces:
- java.io.Serializable, SimState
public class JointBall
- extends Joint
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anchor1
public final Vector3 anchor1
anchor2
public final Vector3 anchor2
JointBall
public JointBall(World world)
init
protected void init()
getInfo1
public void getInfo1(Joint.Info1 passback)
- Specified by:
getInfo1 in class Joint
getInfo2
public void getInfo2(Joint.Info2 passback)
- Specified by:
getInfo2 in class Joint
setBallAnchor
public void setBallAnchor(float x,
float y,
float z)
setBallAnchor2
public void setBallAnchor2(float x,
float y,
float z)
getBallAnchor
public void getBallAnchor(Vector3 result)
getBallAnchor2
public void getBallAnchor2(Vector3 result)
cloneState
public JointBall cloneState(ClonedReferences util)
- Description copied from interface:
SimState
deep clones the state object, any references to other SimState objects
should be cloned and assigned to the clone via the ClonedReferences util object.
The util object ensures that multiple clones of the same object are not
performed during a clone operation.
- Parameters:
util - instanciate a new one if top level cloning