# Adding bullet drop / projectile travel for Lyra project

**URL:** <https://forums.unrealengine.com/t/adding-bullet-drop-projectile-travel-for-lyra-project/1007114>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, LyraStarterGame, CPP, question\
**Created:** [April 15, 2023, 9:25am UTC](https://forums.unrealengine.com/t/adding-bullet-drop-projectile-travel-for-lyra-project/1007114 "2023-04-15T09:25:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FaxLab3D](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/faxlab3d/32/1113136_2.png) [@FaxLab3D](https://forums.unrealengine.com/u/FaxLab3D)\
**Post date:** [April 15, 2023, 9:25am UTC](https://forums.unrealengine.com/t/adding-bullet-drop-projectile-travel-for-lyra-project/1007114/1 "2023-04-15T09:25:14Z")

</div>

Hello. I am trying to add bullet drop / projectile travel/physics for Lyra starter game  
I succeeded doing that however that broke aiming replication, bullet spread, I am not completely sure how the LyraGameplayAbility\_RangedWeapon class works

My attempt was to replace code TraceBulletsInCartridge with a blueprint event “ShootBullet”, and then spawn a projectile on that event and bind another event to EventHit and call a custom event in the CPP class of LyraGameplayAbility\_RangedWeapon that would call the OnTargetDataReadyCallback  
I think that’s what I did but as I was experimenting im not quite sure. I want to redo it propertly from scratch.

The issue is that I don’t know how long does this ability works and how long does it live before being destroyed? There is function “EndAbility” for example. Does that delete that instance of the ability or does it just stop it and its still there? Because in original Lyra the ability lives for one frame I suppose, and with bullet travel it would have to live until the bullet hits the target?

Anyways, sorry for the ramble I’m trying to figure it out how it works…

Maybe someone with the knowledge about Lyra Starter Game can give me hints or guide me as to how exactly should I implement bullet travel?
