# How to use Gravity Switching

## Controller Configuration

To use the Gravity Switching system your JU Character needs some essential changes, make sure the highlighted options are set like this:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FLrHIg8iDC6KLbyXZ0H1T%2Fimage.png?alt=media&#x26;token=2c31bb82-451e-4519-98b0-8f8863dc82b4" alt=""><figcaption></figcaption></figure></div>

## JU Gravity Switcher

Add this component so that the JU Character can adapt correctly to surfaces.

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FijonSJ4txGmpMmnPuvBf%2Fimage.png?alt=media&#x26;token=f9aeff93-fd48-4f2d-b21f-f6e1f3371b6d" alt=""><figcaption></figcaption></figure></div>

| JU Gravity Switcher Parameters      | Description                                                                                                                    |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Enable Ground Placement             | It will adapt the JU Character's rotation to any surface without needing any external components, it will be like a sonic game |
| Speed                               | Aligning Speed                                                                                                                 |
| To Ground Force                     | (Optional) Add force in Ground Placement to fix the character on the ground                                                    |
| Disable Gravity On Direction Change | If gravity direction is different than usual, "Use Gravity" on rigidbody will be disabled                                      |

See Ground Placement working:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2F5FBdI20plXMBiHDMtfj4%2FGround%20Placement%20Option%20Gif.gif?alt=media&#x26;token=2e46a5f8-30f7-41f5-8d5f-a8999a3b41bb" alt=""><figcaption></figcaption></figure></div>

## Gravity Box

An invisible box that switch gravity direction

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2F99snOyWsvYIpxSyJiwTV%2FGravity%20Box%20Gif.gif?alt=media&#x26;token=0da9c871-4824-4683-bef6-d005050067f1" alt=""><figcaption></figcaption></figure></div>

## Gravity Sphere

Like a planet 👍

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FZVRtHuUMrHYg7a7Uaqhm%2FGravity%20Sphere%20LowQuality.gif?alt=media&#x26;token=4f587da7-7120-42be-9ebe-84b70d180795" alt=""><figcaption></figcaption></figure></div>
