Skip to content

Fixed bullet trajectories when firing from a vehicle. - #358

Draft
Vitroze wants to merge 4 commits into
StyledStrike:mainfrom
Vitroze:fix/ball_trajectory
Draft

Fixed bullet trajectories when firing from a vehicle.#358
Vitroze wants to merge 4 commits into
StyledStrike:mainfrom
Vitroze:fix/ball_trajectory

Conversation

@Vitroze

@Vitroze Vitroze commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

In connection with this PR and this comment (#357 (comment)), I have created a separate PR.

It is a workaround that works in itself.

However, it does not work with standard Garry's Mod projectiles:

Class Weapon Addon Status
weapon_rpg Base
weapon_slam Base
weapon_frag Base
weapon_bugbait Base
weapon_crossbow Base
weapon_flechettegun Base
manhack_welder Base
weapon_ar2 (Right-click) Base

I'm saving this PR as a draft. If anyone wants to work on this or if you want to go ahead and push it now, feel free to do so. This PR won't be my priority, but I'll try to work on it as soon as I have some free time.

@StyledStrike

Copy link
Copy Markdown
Owner

To be honest I worry that the "override PlayerMeta functions" approach conflicts with other addons doing the same (like seat weaponizer), besides being a thing that saps a little performance for being called in so many places in the game

@Vitroze

Vitroze commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

I agree, but I don't see how to make all projectiles and bullet trajectories compatible without overwriting those functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants