What i like to do here is, to have the character shaking randomly, then gradually come to stop.
As normal, i will create an axisC to control my random.In axis1.position.x enter : noise(frame)*axisC.position.x
In axis1.position.y enter : noise(frame+1)*axisC.position.x
Now, you can use axisC positionX to control the horizontal shaking strength, and positionY to control the verticle shaking strength. To make the shaking gradually come to stop, just animate the positionX and Y from a big number then to zero over a period of time.
No comments:
Post a Comment