Ciao!
Is there a way to manipulate the amount (distance) that the actor with this flag bobs?
Haven't found anything from wiki.
[SOLVED] Question about FLOATBOB.
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.
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.
- ::Bloodfury::
- Posts: 310
- Joined: Mon Aug 01, 2011 7:39 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
[SOLVED] Question about FLOATBOB.
Last edited by ::Bloodfury:: on Wed May 24, 2017 2:10 pm, edited 1 time in total.
-
- Posts: 29
- Joined: Wed Mar 22, 2017 1:40 pm
Re: Question about FLOATBOB.
Maybe try messing with the actor's gravity and mass.
Re: Question about FLOATBOB.
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.
IIRC, floatbob is a purely visual effect. Gravity and mass will not affect it. Indeed, many floatbobbing things have the NOGRAVITY flag set.
Re: Question about FLOATBOB.
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'.
- ::Bloodfury::
- Posts: 310
- Joined: Mon Aug 01, 2011 7:39 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
Re: Question about FLOATBOB.
Such a shame.. Well, thank you for your help.