PhysicsWorld2D#
Scene-owned Box2D.NET adapter. Backend handles never enter authored documents or game scripts.
public sealed class PhysicsWorld2D : IDisposableMembers: 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);Related types#
Source#
- PhysicsWorld2D.cs