Profile image

Custom weapon separating form pylon

19.0k MetallicBeef6572  11 hours ago

I'm currently working on a custom Aim-9x, however it is reacting to g forces while still on the plane, like its separating from the pylon
here's a picture (forgive the crappily made test plane)

You can see there is separation between the missile and the pylon

Everything on the missile is mass=0 drag=0 (except for the interceptor missile inside that is the real missile) is there a fix?

  • Log in to leave a comment
  • Profile image
    22.0k Hooha12

    @Kav it's because of the G forces. With 0 mass, it doesn't want to keep going its own way and sticks with the airplanes, whereas with mass it get affected by g forces just like a pilot and can move up and down

    +2 2 hours ago
  • Profile image
    23.9k Axartar

    springs in this game are related to mass, which is fun, probably by the spring constant since in some definitions it includes mass, e.g. oscillating pass or pendulum. So either decrease the mass of the missile (might make it fly weird) or increase the pylon mass. in some instances using plural pylons attached to the missile can work too

    +2 8 hours ago
  • Profile image
    15.3k Kav

    @Hooha12 You're right. I think by increasing mass slightly (like 0.25 or 0.5 of mass) you can make it more stable. Btw, I mean all parts of the missile.

    +1 9 hours ago
  • Profile image
    22.0k Hooha12

    @MetallicBeef6572 I found out how. I just did some testing, you have to reduce the mass to 0 for the whole missile. Although, this results in it having immense acceration, so you may need to adjust the maxForwardThrustForce XML for the missile to make it accelerates realistically

    +2 10 hours ago
  • Profile image

    @Hooha12 Didn't work, but thanks for trying👍

    +1 10 hours ago
  • Profile image
    22.0k Hooha12

    I think I have heard somewhere that increasing mass of pylon might work: but I haven't tried it. I have a feeling that there is no way to stop this, but maybe google some stuff and search around a bit.

    +3 10 hours ago