Download

Camera transition in character

I’m pretty sure this is how it’s done, but during Point A, both camera’s may be active or inactive. So what happens during this time to the player’s screen?


// Updates active camera
void ADHCharacter::UpdateActiveCamera()
{
	const bool bLife = IsAlive();
	FirstPersonCamera->bIsActive = bLife;
	// Point A
	OrbitalCamera->bIsActive = !bLife;
}