Simulator3D

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

Members

  • private PhysicsScene _physicsScene:

    • A _physicsScene variable that represents the physics scene.

Methods

  1. public Simulator3D(GameObject gameObject)
    • Parameters:

      • gameObject: Game object on which physics simulation is applied.

    • The constructor method initializes the _physicsScene variable.

  2. public override void OnAwake()
    • Starts the physics scene.

  3. public override void FixedUpdate()
    • Updates the physics scene in fixed step.

Last updated