Extended camera used to hover round a specified target object.

See also:

  • away3d.containers.View3D

Constructor

@:value({ wrapPanAngle : false, steps : 8, maxTiltAngle : 90, minTiltAngle : -90, tiltAngle : 90, panAngle : 0, targetObject : null })new(?targetObject:Entity, panAngle:Float = 0, tiltAngle:Float = 90, minTiltAngle:Float = -90, maxTiltAngle:Float = 90, steps:Int = 8, wrapPanAngle:Bool = false)

Creates a new HoverController object.

Variables

Methods

incrementStrafe(val:Float):Void

incrementWalk(val:Float):Void

@:value({ interpolate : true })update(interpolate:Bool = true):Void

Updates the current tilt angle and pan angle values.

Values are calculated using the defined tiltAngle, panAngle and steps variables.

Parameters:

interpolate

If the update to a target pan- or tiltAngle is interpolated. Default is true.

See also:

  • tiltAngle

  • panAngle

  • steps

Inherited Variables

Inherited Methods