RocketPropulsion¶
Applies a force so that an assembly follows and faces a target part.
Description¶
The RocketPropulsion object applies force on an assembly so that it both
follows and faces a target. It acts like a hybrid of
BodyPosition and BodyGyro. Unlike other
BodyMovers, RocketPropulsion must be instructed to begin
applying or stopping force via Fire() or
Abort() respectively.
You can detect when the assembly reaches its target using the ReachedTarget event which fires once the assembly is within the TargetRadius of the Target part.
Inheritance¶
Object → Instance → BodyMover → RocketPropulsion
Nova inheritance: Instance → BodyMover → RocketPropulsion
Properties¶
CartoonFactor Supported Property Determines the tendency of the assembly to face the Target.
This property determines the tendency of the assembly to face the
Target. By default, this property is set
to 0.7. If set to 0, the assembly will make no effort to face the
target.
MaxSpeed Supported Property Determines the maximum speed at which the assembly will move toward the Target.
MaxThrust Supported Property Determines the maximum amount of thrust that will be exerted to move the assembly.
Determines the maximum amount of thrust that will be exerted to move the assembly.
This property determines the upper limit of the thrust that may be exerted to move the assembly. Assemblies that have high mass will require more thrust in order to remain airborne and thus track the Target.
MaxTorque Supported Property Determines the maximum amount of torque that may be exerted to rotate the assembly towards the Target.
Determines the maximum amount of torque that may be exerted to rotate the assembly towards the Target.
This property determines the upper limit on the amount of torque that may be exerted in order to rotate the assembly towards the Target. It functions similarly to BodyGyro.MaxTorque.
Target Supported Property Determines the object towards which the assembly should follow/face.
Determines the object towards which the assembly should follow/face.
This property determines the object towards which the RocketPropulsion
will exert force/torque. If set to nil, the
TargetOffset will be used instead.
TargetOffset Supported Property Determines the world offset from the Target toward which the force/torque is exerted.
TargetRadius Supported Property Determines the maximum distance from the Target at which the assembly must be in order for ReachedTarget to be fired.
This property determines the maximum distance from the Target at which the assembly must be in order for ReachedTarget to be fired. It does not affect the exerted forces in any way.
ThrustD Supported Property Determines the dampening applied to the assembly in order to prevent it from overshooting the Target.
Determines the dampening applied to the assembly in order to prevent it from overshooting the Target.
This property is used to dampen the velocity of the assembly in order to prevent it from overshooting the Target and causing a "rubber‑banding" effect. It behaves similarly to BodyPosition.D.
ThrustP Supported Property Determines how aggressive of a force is applied in reaching the Target.
Determines how aggressive of a force is applied in reaching the Target.
This property determines how much power is used while applying force in order to reach the Target position. The higher this value, the more power will be used and the faster it will be used. This property works similarly to BodyPosition.P.
TurnD Supported Property Determines the amount of dampening that to use in reaching the Target.
Determines the amount of dampening that to use in reaching the Target.
This property specifies how much dampening will be applied to the torque used to face the Target. When the assembly approaches the goal orientation, it needs to decelerate, otherwise it will rotate past the goal and have to stop and re-accelerate back toward the goal. This often creates an undesirable "rubber‑banding" effect, avoided by applying dampening. The higher this value is set, the greater the dampening curve becomes, or the slower the part will approach the goal orientation.
TurnP Supported Property Determines how aggressive of a torque is applied in facing the Target.
Methods¶
Abort Supported Function Causes the assembly to stop moving toward its Target.
Causes the assembly to stop moving toward its Target.
Fire Supported Function Causes the assembly to start moving toward its Target.
Causes the assembly to start moving toward its Target.
fire Supported Function Deprecated
No description available.
Events¶
ReachedTarget Supported Event Fires when the assembly comes within TargetRadius of the Target.
Fires when the assembly comes within TargetRadius of the Target.
Inherited members¶
Inherited from BodyMover: 8 properties, 36 methods, 7 events. They are documented on the base class page.
Roblox reference: RocketPropulsion
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.