Results 11 to 16 of 16

Thread: setmodel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    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
  •