载入中...
搜索中...
未找到
Body.h
浏览该文件的文档.
Process-local, generation-qualified handles owned by the physics domain.
2D rigid body (Box2D) in pixel-space coordinates. Owned by a World; create shapes with newRectangleFi...
Definition Body.h:21
bool isValid() const noexcept
True while both the wrapper and its owning Box2D world are live.
Definition Body.h:160
const World * getWorld() const
Returns the owning world as a read-only borrowed pointer.
Definition Body.h:185
Body(const Body &)=delete
Body & operator=(const Body &)=delete
const b2Body * raw() const
Exposes the underlying Box2D body for read-only backend integration.
Definition Body.h:203
b2Body * raw()
Exposes the underlying Box2D body for tightly-scoped backend integration.
Definition Body.h:194
PhysicsBodyHandle runtimeHandle() const noexcept
Returns the process-local solver handle used by PhysicsLink.
Definition Body.h:166
2D fixture: a shape attached to a Body with material + filter settings. Also carries a string tag use...
Definition Fixture.h:18
Box2D world wrapper (2D physics) with pixel-space coordinates. Handles stepping, gravity,...
Definition World.h:41