Rotating An Actor Sideways

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

Rotating An Actor Sideways

Post by Collegia Titanica »

From what I know so far, rolling seems to be left and right, while pitch is up and down. Is there no rotation around X axis (Forward-Backward)? Picture something going forward, I want to know how can I rotate it to the side.(Think of planes)
______________________ o O o ________

...........................o
................... ....O
................... ..o

....................o
................... O
................... o
User avatar
gwHero
Posts: 360
Joined: Mon May 08, 2017 3:23 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: The Netherlands

Re: Rotating An Actor Sideways

Post by gwHero »

I think this could be of help
https://zdoom.org/wiki/A_SetSpriteAngle
Post Reply

Return to “Scripting”