@sleevesixtys60 might i suggest not going for auto aim? since most auto aim code is highly personalized written by people with expertise. copy and pasting may not yield correct results. instead you could easily make a camera aimed gun.
@sleevesixtys60 from what i can see, you have two motors, one for each side and so, you need to just put the auto aim code in both of them. if one of them rotates in the wrong direction i.e goes up when supposed to go down, then just go to the settings of the motor and set invert to whatever the next option is. (yes->no OR no -> yes)
@sleevesixtys60 yes there is code for that too that youll have to put in the input section of your rotators.
https://www.simpleplanes.com/a/7zfIpJ/Flak-37-37mm-AA-AUTO-AIM
this craft is where i got the fuse from. there is also auto aim in there
@sleevesixtys60 u need to change a variable in the cannon. select the cannon, open overload, then go to cannon and see if fuseInput variable is there, if it isnt then add it. then for value write this:
@sleevesixtys60 might i suggest not going for auto aim? since most auto aim code is highly personalized written by people with expertise. copy and pasting may not yield correct results. instead you could easily make a camera aimed gun.
@sleevesixtys60 from what i can see, you have two motors, one for each side and so, you need to just put the auto aim code in both of them. if one of them rotates in the wrong direction i.e goes up when supposed to go down, then just go to the settings of the motor and set invert to whatever the next option is. (yes->no OR no -> yes)
@danixvi https://www.simpleplanes.com/a/lB1FEw/Hydra-flak-turret
The turret in question
@danixvi minor problem, the turret i have made, has 2 motors for up and down 1 one on both sides
@sleevesixtys60 yes there is code for that too that youll have to put in the input section of your rotators.
https://www.simpleplanes.com/a/7zfIpJ/Flak-37-37mm-AA-AUTO-AIM
this craft is where i got the fuse from. there is also auto aim in there
@danixvi is it possible to get it to auto target
also, pls tell if you want to make the turret controlled by camera because i think thats what you mean with anti air gun.
@sleevesixtys60 u need to change a variable in the cannon. select the cannon, open overload, then go to cannon and see if fuseInput variable is there, if it isnt then add it. then for value write this:
(TargetSelected ? TargetDistance / (3000 - rate(TargetDistance)) : 60)
thats it
Also how can i get the shells to explode near the target