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.
@WNP78wo7ld love to see it when it does come out
If it will
@Joshuasbestplanes what mod do u have?
@WNP78 how do you make a rotor auto aim Tho I have mods
https://www.simpleplanes.com/a/1wy29e/USS-Kansas-South-Dakota-1920
@WNP78 Ok, Thank you very much
@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
@WNP78 Thank you for answering, but my rotator always rotates and does not aim at the target
@SilucaBloodfallen yes, you can. But put capitals, so it's
TargetHeading
@WNP78 can you add "targetheading" as a input for rotator?
Ar you making an Ai enemy turret this thing I am looking for
@WNP78 can u please share the project
@WNP78 please share that project.
Oh thats awesome you can even make a working phalanx,Goalkeeper CiWS
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.
@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).
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? :)
I think that they should just add a highly customizable defense turret block.
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
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.