Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: planchomanan on January 29, 2015, 08:50:00 PM

Title: Uniform acceleration, then Terminal Speed [Noob question]
Post by: planchomanan on January 29, 2015, 08:50:00 PM
Hi all,

I want to know how to gradually increasing speed then clamp it at max speed.

I have tried normal float operator, clamp method, but I will need further tweaks with the speed. + It's quite hard to determine the speed increase as it's added every frame? This might be a really noobish question.

Thanks in advance!,

Plan
Title: Re: Uniform acceleration, then Terminal Speed [Noob question]
Post by: blackant on January 30, 2015, 02:03:22 AM
use a float compare and if the float is equal or higher to your value, send the transistion to a new state wich set the float to max speed.
Title: Re: Uniform acceleration, then Terminal Speed [Noob question]
Post by: planchomanan on February 05, 2015, 01:24:27 AM
Hi blackant,

I have set a max speed for the transition, although what I want to change is the rate of increase of speed. So I want to be able to determine it against time or distance from origin, this will allow for easier change when I do the level design.

Regards,

Plan