View Single Post
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 05-18-2020 , 00:37   Re: sentry turn to target using pev_controller
Reply With Quote #8

came up with.
1. Set all angles to 0 when deploying.
2. Find the angle between the turret and the target.
(xs_vec_angle (turret, target), [1] in the array are both zero)
3. Set the angle to pev_controller_0.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline