[quote="Crimson Wizard":34uw9zer]People, we can have decals already. I found out there s a parameter in Entity class that allows to make sprite always face one direction. It works.
This might also be of interest...
[quote="progs/common/engine/Object.vc":34uw9zer]enum
{
// Generate the sprite's axes, with sprup straight up in worldspace,
// and sprright parallel to the viewplane.
SPR_VP_PARALLEL_UPRIGHT,
// Generate the sprite's axes, with sprup straight up in worldspace,
// and sprright perpendicular to sprorigin.
SPR_FACING_UPRIGHT,
// Generate the sprite's axes, completely parallel to the viewplane.
SPR_VP_PARALLEL,
// Generate the sprite's axes, according to the sprite's world
// orientation
SPR_ORIENTED,
// Generate the sprite's axes, parallel to the viewplane, but
// rotated in that plane around the centre according to the sprite
// entity's roll angle. So sprforward stays the same, but sprright
// and sprup rotate
SPR_VP_PARALLEL_ORIENTED,
// Generate the sprite's axes, with sprup straight up in worldspace,
// and sprright parallel to the viewplane and then rotated in that
// plane around the centre according to the sprite entity's roll
// angle. So sprforward stays the same, but sprright and sprup rotate
SPR_VP_PARALLEL_UPRIGHT_ORIENTED
};