Discuss this page on this pages [[objAccelerate Talk Page|TalkPage]] === objAccelerate === ^ Syntax | (objAccelerate obj angle thrust [ticks]) | ^ Arguments | obj: The object to accelerate | ^ | angle: Angle (direction) to accelerate; 0 is to the right| ^ | thrust: power of thrust | ^ | [ticks]: Duration, in ticks, that the acceleration lasts | ^ Returns | velVector; Velocity/vector| ^ Category | [[spaceObject functions]]| ^ Description | Accelerates a spaceObject in the given direction with the given thrust for the given duration, in ticks. | === Example === (objAccelerate gPlayership 0 300 30) Accelerates the playership to the right with a thrust of 300 for one second. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list