- add flag +BILLBOARDFACECAMERA - renders actor billboard to always face the camera

tested with this code snippet:
```
class ZombieManFaceCamera : Zombieman replaces Zombieman
{
	default
	{
		+BILLBOARDFACECAMERA;
	}
}
```
This commit is contained in:
Rachael Alexanderson 2023-12-08 10:12:58 -05:00
commit 3caa6247be
4 changed files with 9 additions and 5 deletions

View file

@ -378,6 +378,7 @@ static FFlagDef ActorFlagDefs[]=
DEFINE_FLAG(RF, NOSPRITESHADOW, AActor, renderflags),
DEFINE_FLAG(RF2, INVISIBLEINMIRRORS, AActor, renderflags2),
DEFINE_FLAG(RF2, ONLYVISIBLEINMIRRORS, AActor, renderflags2),
DEFINE_FLAG(RF2, BILLBOARDFACECAMERA, AActor, renderflags2),
// Bounce flags
DEFINE_FLAG2(BOUNCE_Walls, BOUNCEONWALLS, AActor, BounceFlags),