Physic Simulator
This class sets up and manages different physics simulators.
Members
private Simulator _simulator
:A
_simulator
variable representing the physics simulator used.
private bool _isOnlyServer
:Variable that determines whether the physics simulator will only run on the server
Methods
Parameters:
simulator
: Physics simulator to be tuned.
Sets physics simulator.
Calls the
Init
method.
If you want it to run only on the server and the client is active, disable the component.
If the network server is not active, it is disabled.
Creates a simulator according to the physics mode specified in the room manager.
The physics simulator wake-up process is initiated.
It is called in constant step.
It returns if the network server is not active.
The constant step update of the physics simulator is started.
Last updated