But if you have a starting point at say x1,y1,z1 and then apply force in the object's orientation
x1#=0
y1#=0
z1#=0
force#=0.5
`Say you're heading in a purely X-heading, completely level on the
`other axises.
while force#>0
x2#=x1#*force#
y2#=y1#*force#
z2#=z1*force#
`if you don't want pure no-friction, then remove this
dec force,0.1
position object PLAYER_OBJ, x2#,y2#,y3#
if force#<=0 then gosub stop_moving else gosub keep_moving
end while
Now it's a matter of applying force from the other direction.
If you have a fixed compass object in the level, which you substitute for universal coordinates, you can calculate the angle tilt and pan of your X-Wing, and apply the force in the opposite direction to reduce the thrust and turn.
I haven't tested the above code.
-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----