A factory object containing an helper method to generate Vec3D instances.
<static> newVec3D(x, y, z, isFloat)
Creates an instance of Vec3D, which defines a set of coordinates in a virtual world represented by a MMORoom.
Name Type Description
number The position along the X axis.
number The position along the Y axis.
number The position along the Z axis.
boolean Force the coordinates to be treated as floating point numbers (even if integers are passed).
Returns:A Vec3D instance.Type: Vec3D