Sprite lean/angled roll with geometric consistency in multiplayer and mirrors. An ANGLEDROLL flag ties actor's sprite-rolling axis to physical direction instead of viewpoint. Y-Billboarding occurs about a rolled axis (unlike flatsprites which don't billboard). This makes roll consistent when viewed from all angles and in reflections. Useful for sprite-based laser beams and lean mechanics with third-person cameras and/or multiplayer mods.
This commit is contained in:
parent
da13a7e839
commit
19291c5e5c
7 changed files with 73 additions and 3 deletions
|
|
@ -399,6 +399,7 @@ void AActor::Serialize(FSerializer &arc)
|
|||
A("devthreshold", DefThreshold)
|
||||
A("spriteangle", SpriteAngle)
|
||||
A("spriterotation", SpriteRotation)
|
||||
A("angledrolloffset", AngledRollOffset)
|
||||
("alternative", alternative)
|
||||
A("thrubits", ThruBits)
|
||||
A("cameraheight", CameraHeight)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue