Launch Speed on Aiming Component, or on Player Controller?

Ben’s going to store the launch speed as a property of the aiming component. However, this seems a bit limiting. If we are going to re-use the same aiming component for different entities (player tanks, ai tanks, ai mortars, who knows what else) that might have different “guns” and therefore different launch velocities, shouldn’t we store the launch velocity somewhere specific to those entities?

Alternatively, wouldn’t it make sense to make it a property of the Barrel? Since whatever launch velocity we’re going to toss into AimAt is also going to be used by that entity’s Fire, which eventually uses the barrel location/rotation to spawn the projectile.

Privacy & Terms