Game Development Reference
22. Our homing properties section is the bread and butter of our class. This is where
you'll alter the default values for anything to do with locking onto pawns.
// Homing properties
/** angle for locking for lock
targets when on Console */
/** How far out should we be before considering actors for
a lock? */
// Angle for locking, for lockTarget
// How often we check for lock
// How long does player need to hover over actor to lock?
// How close does the trace need to be to the actual target
23. Animations are an essential part of realism, so we want the camera to shake
when firing a weapon, in addition to an animation for the weapon itself.
// camera anim to play when firing (for camera shakes)
// Animation to play when the weapon is fired
24. While we're on the topic of visuals, we may as well add the flashes at the muzzle,
as well as the crosshairs for the weapon.
// Muzzle flashes