Acceleration Behavior Question

TenaciousCKTenaciousCK Member Posts: 1
edited November -1 in Working with GS (Mac)
So this is probably an easy one, but I was wondering how I can get rid of the build up in speed when using the Accelerate behavior on an actor.

I think the normal answer would be to use Move, but I'm using acceleration in a platform game I'm developing so that when the player keeps holding down the left or right arrow key, there will be a constant force that's pushing them in that respective direction, usually over obstacles.

Otherwise, the actor will collide with a wall and quite moving in the direction the player is trying to travel in.

Here's the basic question:

How do I make it so an actor will immediately take off using accelerate instead of the slow build up in speed?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well Accelerate does not work like that in GameSalad or By Definition. Its the same concept as stepping on the gas pedal in a car. If you want and instant speed you need to use Change Velocity and if the over time acceleration is still needed then you could use Change Velocity to get you started and Accelerate to Keep you speed increase afterwards.
Sign In or Register to comment.