# RocketPropulsion

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [BodyMover](https://rapi.sleaze.dev/classes/BodyMover.md), [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Deprecated
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/RocketPropulsion/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/RocketPropulsion

**Deprecated:** This object is deprecated and should not be used for new work. Use [`LineForce`](https://rapi.sleaze.dev/classes/LineForce.md) instead, and see the [legacy conversion notes](https://create.roblox.com/docs/physics/mover-constraints#legacy-mover-conversion).

Applies a force so that an assembly follows and faces a target part.

## Properties

### CartoonFactor

```luau
RocketPropulsion.CartoonFactor: number = 0.699999988
```

- Tags: Read capabilities: Physics

Determines the tendency of the assembly to face the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### Target

```luau
RocketPropulsion.Target: BasePart
```

- Tags: Read capabilities: Physics

Determines the object towards which the assembly should follow/face.

### TargetOffset

```luau
RocketPropulsion.TargetOffset: Vector3 = Vector3.zero
```

- Tags: Read capabilities: Physics

Determines the world offset from the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md) toward which the force/torque is exerted.

### TargetRadius

```luau
RocketPropulsion.TargetRadius: number = 4
```

- Tags: Read capabilities: Physics

Determines the maximum distance from the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md) at which the assembly must be in order for [`ReachedTarget`](https://rapi.sleaze.dev/classes/RocketPropulsion.md) to be fired.

### Active

```luau
RocketPropulsion.Active: boolean = false
```

- Tags: Hidden, Not scriptable, Read capabilities: Physics

### MaxSpeed

```luau
RocketPropulsion.MaxSpeed: number = 30
```

- Tags: Read capabilities: Physics

Determines the maximum speed at which the assembly will move toward the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### MaxThrust

```luau
RocketPropulsion.MaxThrust: number = 4000
```

- Tags: Read capabilities: Physics

Determines the maximum amount of thrust that will be exerted to move the assembly.

### ThrustD

```luau
RocketPropulsion.ThrustD: number = 0.00100000005
```

- Tags: Read capabilities: Physics

Determines the dampening applied to the assembly in order to prevent it from overshooting the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### ThrustP

```luau
RocketPropulsion.ThrustP: number = 5
```

- Tags: Read capabilities: Physics

Determines how aggressive of a force is applied in reaching the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### MaxTorque

```luau
RocketPropulsion.MaxTorque: Vector3 = Vector3.new(400000, 400000, 0)
```

- Tags: Read capabilities: Physics

Determines the maximum amount of torque that may be exerted to rotate the assembly towards the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### TurnD

```luau
RocketPropulsion.TurnD: number = 500
```

- Tags: Read capabilities: Physics

Determines the amount of dampening that to use in reaching the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### TurnP

```luau
RocketPropulsion.TurnP: number = 3000
```

- Tags: Read capabilities: Physics

Determines how aggressive of a torque is applied in facing the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

## Methods

### Abort

```luau
RocketPropulsion:Abort()
```

- Tags: Capabilities: Physics

Causes the assembly to stop moving toward its [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### Fire

```luau
RocketPropulsion:Fire()
```

- Tags: Capabilities: Physics

Causes the assembly to start moving toward its [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

### fire

```luau
RocketPropulsion:fire()
```

- Tags: Deprecated, Capabilities: Physics
- Use instead: [`RocketPropulsion.Fire`](https://rapi.sleaze.dev/classes/RocketPropulsion.md)

**Deprecated:** This function is a deprecated variant of [`RocketPropulsion:Fire()`](https://rapi.sleaze.dev/classes/RocketPropulsion.md) which should be used instead.

## Events

### ReachedTarget

```luau
RocketPropulsion.ReachedTarget: RBXScriptSignal<()>
```

- Tags: Capabilities: Physics

Fires when the assembly comes within [`TargetRadius`](https://rapi.sleaze.dev/classes/RocketPropulsion.md) of the [`Target`](https://rapi.sleaze.dev/classes/RocketPropulsion.md).

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
