Turret Controller
Last updated
Last updated
Perfect for any kind games, the redesigned turret controller is now highly customizable including the arc of fire handles and several aiming algorithms.
Before a turret will target anything, you must setup a few things and specify a transform of an object to aim. Let’s have a look at the new options we’ve added to the turret controller with this update:
Debug Target – A transform of an object the turret will aim at
Mount – Specifies the transform of the horizontal tracking component along the heading plane
Swivel – Specifies the transform of the vertical tracking component along the elevation plane
Heading tracking speed – The rate at which the turret can rotate towards target on the horizontal plane
Elevation tracking speed – The rate at which the turret can pivot towards target in the vertical plane
Heading limit – The arc of fire along the horizontal plane. The editor gizmo marked with red
Elevation limit – The arc of fire along the vertical plane. The editor gizmo marked with blue
Smooth controlling – Enables the interpolated tracking algorithm and variable tracking speed. If disabled, the fixed angle rotation is applied
Debug draw – Whether to draw a debug line between the swivel center and the far end point
Animators – Barrel animator list. A subject to improve over the course of the next update