> For the complete documentation index, see [llms.txt](https://reflective-roommanager.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reflective-roommanager.gitbook.io/docs/user-manual/physic/simulator/simulator2d.md).

# Simulator2D

This class provides a basic structure for 2D physics simulation.

### **Members**

* `private PhysicsScene2D _physicsScene`:
  * A `_physicsScene` variable that represents a 2D physics scene.

### **Methods**

1. ```csharp
   public Simulator2D(GameObject gameObject)
   ```
   * **Parameters:**
     * `gameObject`: Game object on which physics simulation is applied.
   * The constructor method initializes the `_physicsScene` variable.
2. ```csharp
   public override void OnAwake()
   ```
   * Starts the 2D physics scene.
3. ```csharp
   public override void FixedUpdate()
   ```
   * Updates the 2D physics scene in fixed step.
