Question about VELOCITY
Code:
if (GetAsyncKeyState('A'))
MyObject->Velocity.x -= 0.5f;
if (GetAsyncKeyState('D'))
MyObject->Velocity.x += 0.5f;
if (GetAsyncKeyState('S'))
MyObject->Velocity.z -= 0.5f;
if (GetAsyncKeyState('W'))
MyObject->Velocity.z += 0.5f;
or do i need to calculate also the rotation of camera ?
Someone help me how to solve this ?
TIA

