RBX.lua.RocketPropulsion (Object)
From Legacy Roblox Wiki
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:
- CartoonFactor
- MaxSpeed
- MaxThrust
- MaxTorque
- Target
- TargetOffset
- TargetRadius
- ThrustD
- ThrustP
- TurnD
- TurnP
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()