Table of Contents

Interface IPhysicsTickable

Namespace
Vintagestory.API.Common.Entities
Assembly
VintagestoryAPI.dll
public interface IPhysicsTickable
Extension Methods

Properties

FlagTickDone

Flag for load balancer.

ref int FlagTickDone { get; }

Property Value

int

Ticking

bool Ticking { get; set; }

Property Value

bool

Methods

AfterPhysicsTick(float)

Called after physics has ticked and is thread-safe.

void AfterPhysicsTick(float dt)

Parameters

dt float

OnPhysicsTick(float)

Called at a fixed interval 10 times per second.

void OnPhysicsTick(float dt)

Parameters

dt float