Acceleration
< Modding | Projectile (modding) | Projectile ComponentsModding/Projectile/Components/Acceleration
Jump to navigation
Jump to search
Components
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
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. |
Direction | AccelerationDirection | No | No | - | Possible values : Bullet, Target, Velocity, FrameOfReferenceVelocity.
See |
Example mods
The missiles in "Missile Launcher variant : Crippler" by Dj0z