Acceleration

From Cosmoteer Wiki
< Modding‎ | Projectile (modding)‎ | Projectile ComponentsModding/Projectile/Components/Acceleration
Jump to navigation Jump to search

Causes the attached bullet to accelerate forward.

This component makes the projectile move in a direction, more and more over time.

Used by missiles.

Parameters

Parameters
Name Type Required? Buffable? Default value Description
Acceleration float Yes Yes - E.g. 90

Can be an array of two floats. See AccelerationOverTime below.

AccelerationOverTime time No Yes - Acceleration can be an array of two floats. E.g. [-90, 0]

Acceleration will be Lerped between these values over the specified time. Time is two floats in an array. E.g. AccelerationOverTime = [0, .75]

Direction AccelerationDirection No No - Possible values : Bullet, Target, Velocity, FrameOfReferenceVelocity.

See Cosmoteer.Bullets.Physics.AccelerationDirection for more.

Example mods

The missiles in "Missile Launcher variant : Crippler" by Dj0z

See also

ProximityAcceleration