RBX.lua.RocketPropulsion (Object)

From Legacy Roblox Wiki
Revision as of 18:21, 16 March 2008 by >SaladDog (added <br>)
Jump to navigationJump to search

RocketPropulsion is a little-known secret that is very helpful when creating pets, homing rockets, and any projectile that homes in on a Part.


Functions:

Fire() - Makes the rocket fly.
Abort() - Makes the rocket fall.


Properties:

Target - Part that the rocket will fly towards.
MaxSpeed - How fast the rocket will fly.
CartoonFactor - In a nutshell, the tilt of the rocket as it flies. A value of 0 will make the rocket's nose point upwards. A value of 1 will make the rocket's nose point straight towards the Target.
TargetRadius - The radius of the Target before the ReachedTarget event is fired.
MaxThrust - The amount of thrust that is exerted on the rocket, used to keep heavier rockets airborne.
MaxTorque - The amount of torque the rocket will use to rotate the rocket.