Not a bug

Aiming mode trajectory when charging disabled

Mathalous 3 months ago in Shooter updated by Marti (Lead Developer) 3 months ago 2

Trajectory aim only draws when charging a shot, not when actually aiming. When trying to use this as a laser aiming system (think resident evil 4) I am unable to do this.

Bonus: A way to add an effect/texture where the trajectory hits would be nice.

Unity version:
Game Creator version:

If this is the case then the UI to set up the weapon needs a lot of cleanup to prevent invalid combinations. Though I would still argue that "aiming" and "charging" need to be decoupled. Additionally, the documentation for Shooter - Ammunition specifically says: "Trajectory aiming mode is usually used for projectiles that are affected by gravity, like arrows and grenades. But also can also be used with guns with laser aiming sights."

Satisfaction mark by Mathalous 3 months ago

Extra bug.

When using the revolver and setting the aiming mode to straight and the firing mode to trajectory a null pointer exception is created when aiming, charging, and the releasing the aim before firing once you attempt to aim again.

Not a bug

Rather than a bug, this is a feature request. You can have a laser crosshair by having a line renderer component attached to the weapon that elongates forward. Simple as that. You could even have a light cone with a very slim radius to show the red dot on surfaces.

The aiming trajectory is meant to visualize the tension between the lowest charged shot value and the highest charge shot value. Not as a aiming assist for laser weapons.