| Warning: This feature is GZDoom specific, and is not compatible with ZDoom!|
To see all of GZDoom's specific features, see GZDoom features.
void ChangeActorRoll (int tid, fixed angle [, bool interpolate])
Sets the roll angle for the actors with the specified tid. If tid is 0, it sets the roll angle for the activator of the script. Note that the function has a visual effect on models and player's view (when called for players) only. It has no effect on sprites.
This function duplicates and extends on SetActorRoll by having the added option to interpolate the view.
- tid: the tid of the actor.
- angle: the roll angle to set. This is a fixed point angle in the range of 0.0 to 1.0, with:
- 0.25 → right
- 0.5 → down
- 0.75 → left
- 1.0 → up
- interpolate: whether to interpolate the view or not. If true, the view is interpolated, otherwise it is not. Default is false, i.e. no interpolation.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|