So I've got a character who on left click, instantiates and fires a bullet from his gun at a constant force using rigidbody.addforce but now I want to add it so the longer you hold the left click down, it will increase in size and force (with a capped limit) until then when you release it fires the projectile.
It's sort of like Samus' bullet in super smash Bros. The longer you hold down it charges more.
Thanks all answers appreciated.
↧