Swings
Swings are objects that the player can mount and swing around on.
Use Cases
Swings can be used to create complex gameplay sections and jumps. The player swings in a perfectly circular trajectory around the Swing.
The Swing's sounds can be changed by modifying the Sound
objects inside the Sounds
folder.
Swing Configuration
Name | Default Value | Description |
---|---|---|
AllowJumpDismount | true | When true, the Swing is able to be dismounted by jumping. |
Anchor | true | When true, the Swing part will be locked in place below the Top part until the player mounts the Swing. Otherwise, it can move around freely. Recommended to keep as true if you are making moving Swings. |
BallSocketMode | false | When true, the Swing will use a BallSocketConstraint instead of HingeConstraints. Allows 360-degree movement. |
Boost | 0 | The velocity the player will dismount with. If set to 0, they will preserve the velocity they currently have. Otherwise, they will be launched in the direction the Swing part is facing. |
Cooldown | 1 | Time in seconds to wait before the Swing can be mounted again after dismounting. |
JumpOff | true | When true, the player will jump when dismounting. Otherwise, they will simply start falling. |
Control Configuration
Name | Default Value | Description |
---|---|---|
CanControl | true | When true, the player will be able to control the movement of the Swing. |
Force | 750 | The amount of force exerted when the player controls the swing. |
MaxVelocity | 75 | The maximum speed the swing can move at while being controlled by the player. |