Profile image

Rotator with auto aim

86 TheMathsGod  6.5 years ago

I'm not sure if anyone has done this already, but I thought if an idea. A part that acts like a rotator connected to a hindered rotator, with free 360* spinning and 90* up and down. Except, it isn't controllable by the player, and isn't floppy either. Instead, it automatically tracks and points toward the currently selected target. This could be used to create auto aiming turrets, advanced guns or weapons systems on fighter aircraft, or anything really. So, if it exists, can someone point me in the right direction? And if it doesn't, then I would really like to see this done.

  • Log in to leave a comment
  • Profile image
    483 PilotBug

    @WNP78wo7ld love to see it when it does come out
    If it will

    +1 2.0 years ago
  • Profile image

    @Joshuasbestplanes what mod do u have?

    +1 3.3 years ago
  • Profile image

    @WNP78 how do you make a rotor auto aim Tho I have mods

    +2 3.3 years ago
  • Profile image
    21.2k VinFage

    https://www.simpleplanes.com/a/1wy29e/USS-Kansas-South-Dakota-1920

    +5 3.5 years ago
  • Profile image

    @WNP78 Ok, Thank you very much

    3.5 years ago
  • Profile image
    Dev WNP78

    @SilucaBloodfallen this is because TargetHeading is just the heading of the target (angle between the target and North), and setting the rotator to rotate by that angle won't make it point at the target. You'll need to find the difference between the current heading and the target heading, and then make sure the range of the rotator is set correctly too. The expression will get even more complex if you want to predict the future position of the target, there's an example here

    +1 3.5 years ago
  • Profile image

    @WNP78 Thank you for answering, but my rotator always rotates and does not aim at the target

    3.5 years ago
  • Profile image
    Dev WNP78

    @SilucaBloodfallen yes, you can. But put capitals, so it's TargetHeading

    +3 3.5 years ago
  • Profile image

    @WNP78 can you add "targetheading" as a input for rotator?

    3.5 years ago
  • Profile image

    Ar you making an Ai enemy turret this thing I am looking for

    3.6 years ago
  • Profile image

    @WNP78 can u please share the project

    3.6 years ago
  • Profile image

    @WNP78 please share that project.

    5.5 years ago
  • Profile image

    Oh thats awesome you can even make a working phalanx,Goalkeeper CiWS

    +2 5.5 years ago
  • Profile image

    Check out my profile and click on the forum page and click on the link. the link will bring you to a prototype that auto aims.

    6.3 years ago
  • Profile image
    10.5k Xenotriver

    @WNP78 lol can't wait to release. There are two things that do keep me with this game: experiments in building and awesome mods (and modders).

    +2 6.5 years ago
  • Profile image
    18.8k Datom

    I think they should just add a turret block that traverses and follows a selected target and then you can build a turret onto it so you can then make AI ball and Lancaster turrets and even small machine gun posts like in a B-17 or a rear gunner like in the Me Bf 110. Is that just me or what? :)

    6.5 years ago
  • Profile image

    I think that they should just add a highly customizable defense turret block.

    6.5 years ago
  • Profile image

    Wow... that is OP. The one I was thinking of would just point straight at it, and you could use some standard rotators and hinges so you can then compensate for movement yourself. What you have done sounds amazing, I would love to play around with it.
    @WNP78

    +1 6.5 years ago
  • Profile image
    Dev WNP78

    None of this is possible in the stock game, unfortunately.
     
    But I'm a modder so let's have some fun! I have a side project that adds a lua scripting environment inside the game, accessible via placing a "processor" part. One of the first things I added to it was the ability to "disconnect" the input of a rotator/engine/whatever and provide your own. So you can override rotators. With this, I have been having some fun lately. For instance, I built a quadcopter but instead of using a gyro I made my own stabilisation code which directly controlled the rotors. And yes, I have also made an aimbot, which is rather... accurate. It "leads the target" (aims in front of it to hit a moving target) so it's very effective and dangerous. It can even take down incoming missiles. I spawned one as AI and fired 8 missiles at it from 1 mile away. It shot them all down, then me. Unfortunately I'm currently working on two other mods... But it's not too far down the list. Oh, and I managed to use it to take down 163 enemies on the gun training level.

    +10 6.5 years ago