I was hoping to understand the difference between using the following approaches in showing/hiding and Entity


Approach #1
Click to reveal..

if (CamMode == ThirdPersonCamera)
{
Badrizmo.flags2 |=VISIBLE;
}
else
{
Badrizmo.flags2 &= ~VISIBLE; // Fails to hide the player
}


Approach #2
Click to reveal..
if (CamMode == ThirdPersonCamera)
{
set(Badrizmo,VISIBLE);// Fails to show the player}
else
{
set(Badrizmo,INVISIBLE);
}

Thanks in advance