The problem here is that "left" and "right" are relative to the entity, and that means the entity needs to have a 'forward' to make 'left' and 'right' meaningful.
The normal 'forward' for an entity is +Z axis for the entity, so 'left' would be -X and 'right' +X (all relative to the entity).
Positional functions are all world relative instructions, not entity relative.
To transfer entity relative angles to world relative you will need to use the quatlib functions.
Been there, done that, got all the T-Shirts!