Does anyone know how to retrieve a point that is 90 degrees from a unit's current facing? im trying to create an fps where "w" moves a unit towards the camera facing and "D" moves the unit 90 degrees to the right of the current camera facing. i have the unit always facing the camera yaw and the unit can move forward and backwards in relation to the camera facing, but im having trouble trying to get the unit to move left and right in relation to the camera facing.
Does anyone know how to retrieve a point that is 90 degrees from a unit's current facing? im trying to create an fps where "w" moves a unit towards the camera facing and "D" moves the unit 90 degrees to the right of the current camera facing. i have the unit always facing the camera yaw and the unit can move forward and backwards in relation to the camera facing, but im having trouble trying to get the unit to move left and right in relation to the camera facing.
@caspersc: Go
how did you get the "+90 degree" part?
edit: nvm i figured it out. thanks for the help :D