Hi everyone I got a simple question for my Jet simulation physics blueprints.So basically first two screenshots are what I got working and last two are not…
So let’s say three of my event tick functions are called Vertical speed, Slide vertical and Slide horizontal. Vertical speed function has a Vector called Gravity Force that is calculated as Force (vertical speed) multiplued by the COS of angle between (A- Up vector of aircraft’s horizon(which only follows up vector of the jet) and B - forward vector of aircraft) This way Gravity force is applied when player wants to do a maneuver with diving down and then coming out with a bit of losing vertical speed (as in real life) so SIN in this case of second screenshot gives us -1,0,1 to whether apply or not apply gravity force when player does dive bombs. AND THEN I GOT “Slide vertical” function which is basically ‘should’ apply when the players rolls right or left and maybe wants to turn that way and then SIN or COS would give -1,0 or 1 depends of whether we apply pitch angle speed(force) when player maneuvees or not. And then Slide horizontal function is basically rhe same calculated but using YAW angle speed as a force that is also calculated but not shown
because I just want to know how do I apply ut the right way and only when its needed as with Gravity force in the first function. So my problem is that my plane gets sent in the space because of a lifting force getting miscalculated from slide vertical and slide horizontal being added up to the final velocity vector which then gives us AOA(Angle of attack) which participates in calculating that Lift force and sending my jet to space …
The last two screenshots showing gaps that I always fail to fill right because whatever I put, at some point my Jet gets sent into the space lol. Pls help, and I know for sure the problem is in those signs COS or SIN and nothing else, I just don’t know what to use(((