VP_TYPE

Sprite viewport types. When overriden stored in entvars_t::sequence with EF_SPRITE_CUSTOM_VP set in entvars_t::effects for engine use.

Values

Name Value Description
VP_PARALLEL 2 Parallel: Always face the player.
VP_PARALLEL_UPRIGHT 0 Parallel upright: Always face the player on horizontal axis only, fixed vertically.
VP_PARALLEL_ORITENTATED 4 Parallel orientated: Always face the player, but use angles to rotate the sprite.
VP_FACING_UPRIGHT 1 Facing upright: ???
VP_ORIENTATED 3 Orientated: Angled according to the world instead of player viewport.