Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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
-
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.
-
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