I hope someone can help me with my problem.
I would like to move a spaceship from A to B. I want the spaceship to accelerate to the middle of the path, then rotate 180° and then decelerate.
Now the point where the spaceship finishes the acceleration can't be exactly the middle of the way, because the rotating also needs time (in my case a fixed value). The point must therefore be shortly before the middle.
My attempt so far:
Calculate v for s/2. Subtract a * (time for rotate/2) from v. Now calculate with v the point s.
The result does not look wrong at first sight, but the spaceship does not reach exactly the target point during the deceleration, but always stops shortly before it.
I hope you can understand the description of my problem.
I am very happy about ideas. Thank you.