Class Summary |
AccelerateAt |
accelerateAt3D(a3dobject target3dobject accelerationToAdd)
A 3d object is a CS whose P(0) is a list of child 3d objects,
and whose P(1) is a list of 7 or more numbers: x y and z positions, x y and z speeds, radius. |
Attract |
like accelerateAt3D except is symmtric, attracts both spheres half as much. |
AverageOf3DObjects |
Average of position, speed, and radius. |
Distance |
dist3D(a3dobject another3dobject) returns the distance between the centers of 2 3d objects
A 3d object is a CS whose P(0) is a list of child 3d objects,
and whose P(1) is a list of 7 or more numbers: x y and z positions, x y and z speeds, radius. |
UpdatePositionBySpeed |
updatePositionBySpeed(a3dobject timeIncrementInSeconds) returns distance moved. |
Verify3DObject |
NEW DESIGN (not yet implemented):
Verify3DObject is a 3D object. |
XYZ |
XYZ contains constants relevant to 3d objects,
and should be used only in P(1) (not P(0)) of a 3d object,
like this: some3DObject.P(1).setD(XSPEED,0.2). |