# Physics Variables

<figure><img src="https://1902847056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ3kJNVa442SEEQpMHRM%2Fuploads%2FVtlaH8h9sD74oPiNyS7s%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202023-05-09%20161131.png?alt=media&#x26;token=8a2b7d13-0d73-4b6a-beee-537e8372b183" alt=""><figcaption></figcaption></figure>

In the `PlayerData` class, the `PhysicsVariables` class is created to store variables related to the player's physics and interactions with the environment. This class includes variables for slopes, platforms, ground checking, head bump checking, wall interactions, and more.

<figure><img src="https://1902847056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ3kJNVa442SEEQpMHRM%2Fuploads%2FinGGRnegmdrYidrqvnXb%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202023-05-09%20163103.png?alt=media&#x26;token=828ace8f-2cba-4f01-9275-292355804aa9" alt=""><figcaption></figcaption></figure>

The `PhysicsVariables` class has two nested classes, `SlopeVariables` and `PlatformVariables`, that store data related to slopes and platforms, respectively.

<figure><img src="https://1902847056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ3kJNVa442SEEQpMHRM%2Fuploads%2FJemjzcVLwP7on7FsDVYc%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202023-05-09%20163236.png?alt=media&#x26;token=318573b0-ee67-49b7-b56c-3984c037aecc" alt=""><figcaption></figcaption></figure>
