Profile image

How to Make Dive Bomber Turrets? [Resolved]

2,080 Firecharge123  2 months ago

I have tried all I can but it Never Works, I have tried using many different lines of code but they never work. I’m trying to make a Stuka dive bomber, but the auto turret is broken.


Resolved

  • Log in to leave a comment
  • Profile image

    Also check the rotator settings
    - Set the rotation range to the value specified by the code (you can also do this by setting the InputController.min and ".max values)
    - Set shortestAngle to true if required
    - Front gunner code for the connection structure (plane - horizontal rotation - vertical rotation - gun) can probably be converted to rear gunner code by adding or subtracting 180 degrees from the local y angle to the target

    2 months ago
  • Profile image
    75.7k Monarchii

    @Firecharge123 use one that is attuned for backward pointing..? did you use one from a forward pointing turret I assume?

    2 months ago
  • Profile image

    @hpgbproductions I tried that, but it was broken somehow

    2 months ago
  • Profile image

    If you mean gunners, use auto aim code, and then you have to select the enemy plane for the turret to aim, and press the gun button manually

    2 months ago
  • Profile image

    There is a bomb sight on this website. Maybe try that.

    2 months ago
  • Profile image

    @WritersCrusadersAirCo2

    2 months ago