载入中...
搜索中...
未找到
eve::physics 命名空间参考

class  Body
 2D rigid body (Box2D) in pixel-space coordinates. Owned by a World; create shapes with newRectangleFixture/newCircleFixture. 更多...
 
class  Body3D
 3D rigid body (Box3D) in meter-space coordinates (+Y up by convention). Owned by a World3D; create shapes with newBoxShape/newSphereShape/newCapsuleShape. 更多...
 
class  Cloth
 Interactive 2D cloth — Verlet particles + distance constraints. Pixel space (same convention as Box2D World). Script-owned. 更多...
 
class  ContactRelay
 
class  DebugDraw
 
class  Fixture
 2D fixture: a shape attached to a Body with material + filter settings. Also carries a string tag used by contact events. 更多...
 
class  Fluid
 Interactive 2D particle fluid (double-density relaxation) in pixel space. Script-owned; independent of Box2D World. 更多...
 
class  Physics
 Physics module — Box2D (2D) + Box3D (3D) rigid bodies, plus interactive cloth / SPH fluid. Script: physics <- eve.Physics(); world <- physics.newWorld(0, 900); world3 <- physics.newWorld3D(0, -9.8, 0); 更多...
 
class  Shape3D
 3D shape (box/sphere/capsule) attached to a Body3D with material settings. Created via Body3D::new*Shape; owned by the world. 更多...
 
class  World
 Box2D world wrapper (2D physics) with pixel-space coordinates. Handles stepping, gravity, raycasts, AABB queries and contact/impact events. 更多...
 
class  World3D
 Box3D rigid-body world. Script coordinates are meters (Box3D native), unlike 2D World which uses pixels + Physics.setMeter. 更多...
 

函数

 Module_IMPL (Physics, new Physics())
 
void registerPhysicsCapabilities ()
 

函数说明

◆ Module_IMPL()

eve::physics::Module_IMPL ( Physics  ,
new   Physics() 
)

◆ registerPhysicsCapabilities()

void eve::physics::registerPhysicsCapabilities ( )

在文件 PhysicsCapabilities.cpp72 行定义.

引用了 impl , 以及 eve::cap::query().

被这些函数引用 eve::physics::Physics::Physics().