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

Thread: My turrets are unstable!

  1. #11
    Wire Noob krail's Avatar
    Join Date
    Jun 2009
    Location
    Sydney, Australia
    Posts
    23

    Default Re: My turrets are unstable!

    Quote Originally Posted by ktccd View Post
    Also, aimpos does not work in vehicles. However, owner():eye() does. It gives the angle your view has.
    Thats why I'm using it although sometimes its not as accurate and isn't it possible to use something similar to rangerFilter() to exclude the props you don't want from aimpos()?

    Quote Originally Posted by Elmo the Emo Emperor View Post
    Yes it is :3.
    If you use a ballsocket say, it should be fine and if it's not you can simply increase the weight to make it stronger.
    If however it is applyforcing to above the mount, you might want to have a loot at improving your applyforce formula.
    I'm sure there are other methods that i lack the imagination/can't be bothered to think of at the moment, but hopefully you get the idea.
    I can't think of anything now recently I tried mounting the turret to the base prop using ballsocket center and it improved somewhat. Does anyone know what differences you get using applyTorque as apposed to applyAngForce?

  2. #12
    Wire Sofaking ktccd's Avatar
    Join Date
    Sep 2009
    Posts
    751

    Default Re: My turrets are unstable!

    The eye don't give a position, it's like you apply your angle on the gun. They would aim perfectly if it had the same position as your viewpoint.

    I solved this by using a cam showing from the guns view. but then I'd have trouble driving, so that was the co-pilots job.

  3. #13
    Wire Noob Kiefer's Avatar
    Join Date
    Mar 2010
    Posts
    8

    Default Re: My turrets are unstable!

    i'll post a screenshot how to fix your problem in 1.5 hours

  4. #14
    Wire Noob krail's Avatar
    Join Date
    Jun 2009
    Location
    Sydney, Australia
    Posts
    23

    Default Re: My turrets are unstable!

    Quote Originally Posted by Kiefer View Post
    i'll post a screenshot how to fix your problem in 1.5 hours
    -

    Its been a looooong 1.5 hours... :P
    Last edited by krail; 03-17-2010 at 11:09 PM.

+ 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