I'm having problem moving my player entity in free-fall...
In such case also I need to adjust the player tilt= -40 instead of moving with it directly straight to its z-axis it moves back..
some illustration:
The correct movement is the dashed line and not to move down backwards (straight line)..
the code i've used is just:
c_move(player, vector(0,0,myVerticalAccel), nullvector, IGNORE_PASSABLE | GLIDE);
player.tilt = -40;
player.tilt = clamp( player.tilt, -90,90 );
any way idea how I could solve it? Thanks