Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'CBA_fnc_viewDir', 'CBA_fnc_turretDir' #372

Merged
merged 2 commits into from
Jun 10, 2016

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Jun 8, 2016

Two functions to report the polar coordinates of the directions objects, turrets and weapons are facing. Works for soldiers and vehicles.

CBA_fnc_viewDir disabled on the Linux/MacOs port, because getCameraViewDirection is new in 1.58.

They are different from CBA_fnc_headDir in that they report the inclination too and work for vehicles, AI and remote players.

@commy2 commy2 added the Feature label Jun 8, 2016
@Killswitch00 Killswitch00 merged commit 5fb56b2 into master Jun 10, 2016
@thojkooi thojkooi deleted the add_viewDir_and_turretDir branch June 16, 2016 15:45
@commy2 commy2 added this to the 2.4.2 milestone Jun 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants