RBX.lua.RocketPropulsion (Object)

From Legacy Roblox Wiki
Revision as of 01:40, 3 January 2009 by >Anaminus (cleaned up)
Jump to navigationJump to search


Preliminary:This item is under development and is likely to change. Use only for experimental work.

The RocketPropulsion object is used to apply force to a Part or other object in a similiar manner as a rocket (ie. towards a given part, with given thrust and torque).

Functions

In addition to the Global functions, RocketPropulsion incorporates the following:

Properties

In addition to the Global properties, the BodyForce also has these:

Events


Example Script

Insert this script into a small, unanchored part, and change the name in the script:

local rocket = script.Parent

local rp = Instance.new("RocketPropulsion")
rp.Parent = rocket
rp.Target = game.Players.YourNameHere.Character.Torso
rp:Fire()

See Also

Blog post