Expression for speed of growth rate in ‘change actor size’..?
Hi there,
In the ‘change size’ behaviour, you get just one option – growth rate. Is there an expression I can put into that growth rate expression editor to make it grow slower? It seems to have just one natural speed, which is very fast.
Or is there an alternative behaviour or attribute that would do the same thing but could be slowed down just a little?
For context: I’m creating an actor that is a plant that will ‘grow’ on rule. It doesn't have to grow super slowly, just a bit slower than the change size behaviour naturally does, so that it doesn't look like violently erupting flowers lol*. The change size behaviour is fine for this as it is a birds-eye-view piece, so the plants can grow ‘outwards’ rather than ‘upwards’. This size change is happening on a keyboard press.
Sorry if this has been answered before - I did search around for previous answers but didn't find much. If anyone has actually made a game where plants pop up I'd love to hear how you went about it.
*'Violently Erupting Flowers' maybe good game name? haha
Comments
Not sure what a 'natural speed' is, but you can enter any value you like, for example 0.0001 is going to be imperceivably slow !
All behaviours can be set to run at whatever speed you like, you can grow the size of an actor with lots of things, Interpolate, Constrain, Timer+Change attribute - etc.
google a math expression for expotential growth. eg compond interest. or google half life.