Hi Gerrit.

the camera.genius work fine...
The entity is INVISIBLE ONLY if the camera position is INSIDE the entity (like 1st person).

When program execute "camera.y -= (15 * sin(dog_player.pan));" send the camera outside from the entity and make the dog_player VISIBLE.