What are the calculations to move in 2D relative to the camera direction?

How do I go in the horizontal direction the camera is facing in radians, according to which of the four WASD keys are pressed? W goes forwards, A goes left, S goes back, and D goes right



from Recent Questions - Stack Overflow https://ift.tt/2JeDMdO
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)