Constructor

@:value({ depth : 0, height : 0, width : 0, z : 0, y : 0, x : 0 })new(x:Float = 0, y:Float = 0, z:Float = 0, width:Float = 0, height:Float = 0, depth:Float = 0)

Parameters:

x

The initial X position of the Flx3DObject.

y

The initial Y position of the Flx3DObject.

Z

The initial Z position of the Flx3DObject.

width

The desired width of the Flx3DObject.

height

The desired height of the Flx3DObject.

depth

The desired depth (length along the Z axis) of the Flx3DObject.

Variables

@:value(new Flx3DPoint())acceleration3D:Flx3DPoint = new Flx3DPoint()

angleW:Float

angleX:Float

angleY:Float

angleZ:Float

@:value(new Flx3DPoint())angularAcceleration3D:Flx3DPoint = new Flx3DPoint()

@:value(new Flx3DPoint())angularDrag3D:Flx3DPoint = new Flx3DPoint()

@:value(new Flx3DPoint())angularMaxVelocity3D:Flx3DPoint = new Flx3DPoint()

@:value(new Flx3DPoint())angularVelocity3D:Flx3DPoint = new Flx3DPoint()

depth:Float

@:value(new Flx3DPoint())drag3D:Flx3DPoint = new Flx3DPoint()

@:value(new Flx3DPoint())maxVelocity3D:Flx3DPoint = new Flx3DPoint()

@:value(YXZ_EULER)rotationMode:Flx3DRotationMode = YXZ_EULER

@:value(new Flx3DPoint(1, 1, 1))scale:Flx3DPoint = new Flx3DPoint(1, 1, 1)

@:value(new Flx3DPoint())velocity3D:Flx3DPoint = new Flx3DPoint()

z:Float