Table of Contents

Class PhysicsSimulationStep

Namespace
Netick.Unity
Assembly
Netick.Unity.dll

Executes the physics (PhysX or Box2D) simulation step during the NetworkFixedUpdate callback of Netick.

[ExecutionOrder(1000)]
public class PhysicsSimulationStep : NetickCoreComponent, INetickNetworkScript, INetickScript
Inheritance
PhysicsSimulationStep
Implements
Inherited Members

Methods

NetworkFixedUpdate()

Called every fixed-time network step. Any changes to the networked state should happen here.

On the client, if you are the Input Source or if this Object.PredictionMode is set to Everyone, it will be called several times in one update/tick during resimulations. To check for resimulations, use [IsResimulating].

public override void NetworkFixedUpdate()

PostSimulation()

public void PostSimulation()