Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Rotation issue

  1. #11
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    it might be solved using this:

    PHP Code:
    pf anglesToForwarddriver getPlayerAngles() );
    tu anglesToUpself.angles );
    sr anglesToRighttower.angles );
    a1 vectorToAnglespf vectorScaletu vectorDottu pf ) ) );
    a2 vectorToAnglessr vectorScaletu vectorDottu sr ) ) );

    tower rotateTo( ( a1[0] , a1[1] , a2[0] ) , timeStep ); 

  2. #12
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts

  3. The Following 7 Users Say Thank You to serthy For This Useful Post:

    BlancO (19th October 2013),Jeplaa (20th October 2013),kung foo man (19th October 2013),Ni3ls (19th October 2013),RobsoN (19th October 2013),Tally (19th October 2013),YuriJurek (19th October 2013)

  4. #13
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Fucking awesome!

  5. #14
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    Wow, that's amazing ! keep it up! wish you would release it on some server !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •