DonBruce64 / MinecraftTransportSimulator

A Minecraft mod that adds planes and automobiles with realistic physics!
Other
107 stars 58 forks source link

Bullets & Guns Stuff #1678

Closed conman180 closed 1 year ago

conman180 commented 1 year ago

Ignore commits for the gravity stuff as that was already merged. Don't know why it still shows up here. First commit: makes it so active guidance bullets have that same search cone as guns do. if the target its tracking goes outside that cone, it loses lock. Also makes a check if terrain is in between bullet and target, allowing for terrain to break said lock as well. may need a little tweaking still but need your help with it.

Second commit: Adds a check for if the gun that has a lock on a target is on a vehicle, if it is, it bases the reference point for animations of of the vehicle pos rather than gun pos. this is to help animations on HUDs stay lined up on larger aircraft.

conman180 commented 1 year ago

Will add those two new json defs for bullets to the wiki once merged.