RBX.lua.RocketPropulsion (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
cleaned up
>Anaminus
mNo edit summary
Line 4: Line 4:
{{Preliminary}}
{{Preliminary}}


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).
The RocketPropulsion object is used to apply force to a [[RBX.lua.Part (Object)|Part]] or other object in a similiar manner as a rocket (ie. towards a given part, with given thrust and torque).


==Functions==
==Functions==
Line 13: Line 13:


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


*[[CartoonFactor (Property)|CartoonFactor]]
*[[CartoonFactor (Property)|CartoonFactor]]
Line 28: Line 28:


== Events ==
== Events ==
In addition to the Global events, the RocketPropulsion also has these:
*[[ReachedTarget (Event)|ReachedTarget]]
*[[ReachedTarget (Event)|ReachedTarget]]



Revision as of 01:43, 3 January 2009


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 RocketPropulsion also has these:

Events

In addition to the Global events, the RocketPropulsion also has these:


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