MagicVectorThruster

Manages vectoring or vernier-style attitude thrusters.

"everyFrameEffect":"org.magiclib.weapons.MagicVectorThruster"

Just needs to be assigned to a deco weapon with a "flame" animation or a "cover" sprite in their weapon file. Supports both moving vectoring-style thrusters and fixed vernier-style ones. WARNING, this script may have a negative performance impact, use it sparingly.

Author

Tartiflette

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun advance(amount: Float, engine: CombatEngineAPI, weapon: WeaponAPI)
Link copied to clipboard
open fun smooth(x: Float): Float