+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Holotargeting

  1. #11
    Have plane will travel Anticept's Avatar
    Join Date
    Feb 2008
    Location
    Ohio, USA
    Posts
    1,503

    Default Re: Holotargeting

    Read the topic more closely black phoenix....
    "You can only tie the record for flying low."

  2. #12
    Wirererer zeroZshadow's Avatar
    Join Date
    May 2008
    Location
    Holland
    Posts
    118

    Default Re: Holotargeting

    anticept, the amount of math is actualy not much.

    i'll have a look at it when i have time (the match that is, you guys can do the lua for now, hehe)

    EDIT:

    should be something like this:

    Code:
    pos = PlayerPos();
    rot = PlayerRot();
    radianFactor = pi/180;
    
    delta.x = sin(rot.yaw*radianFactor);
    delta.z = cos(rot.yaw*radianFactor);
    delta.y = sin(rot.pitch*radianFactor);
    
    aimpos = pos + delta;
    Last edited by zeroZshadow; 06-08-2008 at 11:53 AM.

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots