[SOLVED] Question about FLOATBOB.

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
::Bloodfury::
Posts: 310
Joined: Mon Aug 01, 2011 7:39 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Finland

[SOLVED] Question about FLOATBOB.

Post by ::Bloodfury:: »

Ciao!

Is there a way to manipulate the amount (distance) that the actor with this flag bobs?
Haven't found anything from wiki. :?
Last edited by ::Bloodfury:: on Wed May 24, 2017 2:10 pm, edited 1 time in total.
D3X1K AXYZ
Posts: 29
Joined: Wed Mar 22, 2017 1:40 pm

Re: Question about FLOATBOB.

Post by D3X1K AXYZ »

Maybe try messing with the actor's gravity and mass.
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Question about FLOATBOB.

Post by Enjay »

I've asked similar questions in the past. I don't think it is tailorable. It would be nice if it was though.

IIRC, floatbob is a purely visual effect. Gravity and mass will not affect it. Indeed, many floatbobbing things have the NOGRAVITY flag set.
User avatar
JPL
 
 
Posts: 523
Joined: Mon Apr 09, 2012 12:27 pm
Contact:

Re: Question about FLOATBOB.

Post by JPL »

Yeah, the behavior is hardcoded as a simple "y = sin(timeElapsed)" kinda thing, I've run into this too. Simplest way to customize it would be a FloatBobScale property in the C++ or somethin'.
User avatar
::Bloodfury::
Posts: 310
Joined: Mon Aug 01, 2011 7:39 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Finland

Re: Question about FLOATBOB.

Post by ::Bloodfury:: »

Such a shame.. Well, thank you for your help. :)
Locked

Return to “Editing (Archive)”