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
Parameters:
gameObject
: Game object on which physics simulation is applied.
The constructor method initializes the
_physicsScene
variable.
Starts the 2D physics scene.
Updates the 2D physics scene in fixed step.
Last updated