Plush

PhysicsWorld2D#

PlushEngine · Type index

Namespace: PlushEngine.Physics2D (using PlushEngine.Physics2D;)

Scene-owned Box2D.NET adapter. Backend handles never enter authored documents or game scripts.

public sealed class PhysicsWorld2D : IDisposable

Members: ApplyImpulse · BodyCount · Dispose · GetVelocity · JointCount · SetVelocity

ApplyImpulse#

public void ApplyImpulse(RuntimeEntity entity, Vector2 value);

BodyCount#

public int BodyCount { get; }

Dispose#

public void Dispose();

GetVelocity#

public Vector2 GetVelocity(RuntimeEntity entity);

JointCount#

public int JointCount { get; }

SetVelocity#

public void SetVelocity(RuntimeEntity entity, Vector2 value);

RuntimeEntity

Source#