I just want a boom 25 that will detonate on impact with water, and am wondering if there is an easy way to do it other than the method using shocks.
I just want a boom 25 that will detonate on impact with water, and am wondering if there is an easy way to do it other than the method using shocks.
Cockpit parts that are not set to primary cockpit can still output certain variables like altitude, speed, etc... So you can attach a non-primary cockpit to your bomb and the height of the bomb will be known as variable. For example the altitude of this cockpit is assigned to the variable: BombHeight
Then the last step would be to trigger the bomb using this variable. I think you can trigger bombs using a piston which pushes into the nose of the bomb but I am not sure about it.
If the piston method would work then you need the following FT expression for your piston: clamp01(BombHeight < 0) This activates the piston when the bomb goes below sea-level
other than the shocks method. @Chickendude
https://www.simpleplanes.com/a/I2IykZ/A-bomb-exploding-at-the-water-surface
Você pode colocar um pistão com um código que ative após ele chegar a altitude de 0 ft, com a colisão do pistão, tecnicamente a bomba explodiria, teria que ver isso na prática, vou experimentar isso no jogo!