How to rotate a model?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, 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.
Fragger
Posts: 10
Joined: Sat Mar 19, 2022 11:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

How to rotate a model?

Post by Fragger »

I have a ceiling fan model obj I want to rotate, but instead, it flips like a pancake.
I have ROTATING in the modeldef
Fragger
Posts: 10
Joined: Sat Mar 19, 2022 11:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: How to rotate a model?

Post by Fragger »

Never mind
I created a new model and this one works fine
User avatar
Enjay
 
 
Posts: 26402
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: How to rotate a model?

Post by Enjay »

Did you figure out what the difference between the two is?
Fragger
Posts: 10
Joined: Sat Mar 19, 2022 11:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: How to rotate a model?

Post by Fragger »

No. Exact same thing, but one wouldn't work.
Both model, modeldef, zscript and mapinfo are the same.
Only difference is, I created a sprite so it shows in the editor.
User avatar
Enjay
 
 
Posts: 26402
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: How to rotate a model?

Post by Enjay »

Hmmm... I'm intrigued. Any chance you could upload both models somewhere? There must be a difference in there somewhere. If not, it's no big deal. I'm just interested. My initial guess as to what might be happening is was that the actual model was facing 90 degrees from the angle that you wanted it to and so it was rotating on the wrong axis (as far as the intended purpose at least).
Fragger
Posts: 10
Joined: Sat Mar 19, 2022 11:59 am
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: How to rotate a model?

Post by Fragger »

I'll try. I think I deleted it

Return to “Mapping”