-
Corporal
Hey guys
I'm firing a projectile from the gunship, from self.origin to trace["position"].
How can I set the projectile.angles? It should be pointing to the target (trace["position"]).
I know I could determine the three angles as the inclinations between the origin and the target, but I'm not sure if trigonometric functions are supported...
Thanks again
Editted: This is good enough
projectile.angles = self getplayerangles();
Last edited by guiismiti; 5th June 2015 at 22:26.
set logfile 2
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules