Files
cocos4/cocos/physics-2d/framework/index.ts
T
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00

30 lines
969 B
TypeScript

export * from "./physics-types";
export * from "./physics-system";
// rigid body
export * from './components/rigid-body-2d';
// colliders
export * from './components/colliders/collider-2d';
export * from './components/colliders/box-collider-2d';
export * from './components/colliders/circle-collider-2d';
export * from './components/colliders/polygon-collider-2d';
// joints
export * from './components/joints/joint-2d';
export * from './components/joints/distance-joint-2d';
export * from './components/joints/spring-joint-2d';
export * from './components/joints/mouse-joint-2d';
export * from './components/joints/relative-joint-2d';
export * from './components/joints/slider-joint-2d';
export * from './components/joints/fixed-joint-2d';
export * from './components/joints/wheel-joint-2d';
export * from './components/joints/hinge-joint-2d';
import * as PolygonSeparator from './utils/polygon-separator';
export const Physics2DUtils = {
PolygonSeparator
}