Flag for making missiles not reorient on bounce

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Flag for making missiles not reorient on bounce

Postby Marisa Kirisame » Sat Aug 24, 2019 3:23 pm

Here's the situation. I have a specific throwable item that spins around while bouncing until it comes to a stop. Thing is, in order to bounce it needs to be a missile, and due to how missiles work, the model very visibly reorients itself to face its new movement direction on every bounce, and this looks pretty bad to be honest. Unless there already is a way to do this and I'm just not looking hard enough at the wiki, I was wondering if a flag could be introduced to disable this behaviour.

I figured a temporary workaround but it's a gross hack. Basically on a Tick() override, before calling Super.Tick() I store the old angles, and then at the start of the Bounce state I reset them to those.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests