Simulator3D
This class provides a basic structure for 3D physics simulation.
Members
private PhysicsScene _physicsScene
:A
_physicsScene
variable that represents the physics scene.
Methods
public Simulator3D(GameObject gameObject)
Parameters:
gameObject
: Game object on which physics simulation is applied.
The constructor method initializes the
_physicsScene
variable.
public override void OnAwake()
Starts the physics scene.
public override void FixedUpdate()
Updates the physics scene in fixed step.
Last updated