Class Motion
java.lang.Object
ua.mcchickenstudio.opencreative.utils.millennium.phys.Motion
-
Constructor Summary
ConstructorsConstructorDescriptionMotion()Create an empty constructor if we do not want initial values for our motion.Motion(double x, double y, double z) Set an initial value for our base motion.Motion(MotionValue x, MotionValue y, MotionValue z) Set an initial value for our base motion. -
Method Summary
-
Constructor Details
-
Motion
public Motion()Create an empty constructor if we do not want initial values for our motion. -
Motion
public Motion(double x, double y, double z) Set an initial value for our base motion. -
Motion
Set an initial value for our base motion.
-
-
Method Details
-
set
-
add
-
length
public double length() -
normalize
-
clone
-
getX
-
getY
-
getZ
-