Profile image

I want to make proximity fuse shells in simpleplanes

180 BovineLauncher  14 hours ago

Hey, im just asking, how do you guys make proximity fuse shells like whenever its near a target, it explodes without the need for impact

  • Log in to leave a comment
  • Profile image
    54.3k ShinyGemsBro

    Make a new variable for the cannon called fuseInput
    Then copy the code below as it's value:
    TargetSelected ? TargetDistance / (3000 - rate(TargetDistance)) : 60
    .
    Note that the 3000 value is your cannon's muzzle velocity. You have to match the fuse input velocity with your cannon's to make the proxdet happen on target or close to it.
    .
    You can even try slightly overshooting the input velocity more than the actual muzzle velocity for a higher chance at hitting.
    Ex. Cannon MV: 3000m/s, Input MV: 3250m/s

    Pinned 13 hours ago
  • Profile image

    @ShinyGemsBro thanks a lot

    12 hours ago