facepunch commits
log in
BillBorman
1 Year Ago
rust_reboot
/main/Attack Helicopter
#79891
Separated gun rotation from eye angle. Cast a ray from the eye to its hit point, and have the gun aim at that point. Allows the eye and the gun to be at different locations and still aim perfectly.
thumb_up
3
thumb_down
0