Add WorldOffset field

Adjusts the thing's 3D position on render side. This allows for adjusting a thing's visual position without impacting their hitbox.

# Conflicts:
#	src/playsim/p_mobj.cpp
This commit is contained in:
Sally Coolatta 2021-07-24 19:36:31 -04:00 committed by Christoph Oelckers
commit a98c1efc26
6 changed files with 11 additions and 6 deletions

View file

@ -371,7 +371,8 @@ void AActor::Serialize(FSerializer &arc)
A("friction", Friction)
A("SpriteOffset", SpriteOffset)
("viewpos", ViewPos)
A("userlights", UserLights);
A("userlights", UserLights)
A("WorldOffset", WorldOffset);
SerializeTerrain(arc, "floorterrain", floorterrain, &def->floorterrain);
SerializeArgs(arc, "args", args, def->args, special);