Hi,
tinkering on ballistics again, atm i have troubels getting my jet-driven projectile to accelrate nearly instantly to a certain variable speed (desired vfront between 50 and 150 ) - atm im using a pid and a counter ( maths operator&multiplexer ) to shut the jet off some 10th seconds after launch and/or as the desired speed is reached. In theory the pid shouldnt alow the projectile to get faster than its setpoint, but if the kp is to high, the initial thrust is so high that the projectile reaches speeds above the setpoint - if the kp is to low though, the projectile doesnt reach the desired speed fast enough. With some trial & error i reached a good precision when using a fixed velocity. However i want to optimise the projectiles flightpath for an relatively flat arc ( so instead of lauching almost straight up when a target is close, the projectiles launch speed should be reduced until a launch at 45° would hit the target )
I also used fast pistons to toss grenades before, but it doesnt seem very precise / affected by framerate
any ideas ?