Table of Contents

Interface IPhysicsTickable

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

Properties

Entity

Entity Entity { get; }

Property Value

Entity

Ticking

bool Ticking { get; set; }

Property Value

bool

Methods

AfterPhysicsTick(float)

Called once per server tick, after all physics ticking has occurred; on main thread.

void AfterPhysicsTick(float dt)

Parameters

dt float

OnPhysicsTick(float)

Called at a fixed interval, potentially 30 times per second (if server is running smoothly)

void OnPhysicsTick(float dt)

Parameters

dt float