mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
96a735b2ff
* 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
128 lines
3.5 KiB
JSON
128 lines
3.5 KiB
JSON
{
|
|
"$schema": "./tools/division-config-schema.json",
|
|
"groupOrItems": [
|
|
{
|
|
"text": "Core",
|
|
"description": "Core module.",
|
|
"required": true,
|
|
"entry": "base",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Graphcis API",
|
|
"description": "Graphcis API used by GFX. There can be more than one API existed.",
|
|
"items": [
|
|
{
|
|
"text": "WebGL 1.0",
|
|
"description": "The WebGL 1.0 is required whenever.",
|
|
"entry": "gfx-webgl",
|
|
"required": true
|
|
},
|
|
{
|
|
"text": "WebGL 2.0",
|
|
"entry": "gfx-webgl2",
|
|
"default": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "UI",
|
|
"description": "UI module",
|
|
"entry": "ui",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Particle System",
|
|
"description": "Particle system module",
|
|
"entry": "particle",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Physics",
|
|
"description": "Physics(implementation).",
|
|
"default": true,
|
|
"options": [
|
|
{
|
|
"text": "cannon.js",
|
|
"entry": [
|
|
"physics-cannon",
|
|
"physics-framework"
|
|
]
|
|
},
|
|
{
|
|
"text": "builtin",
|
|
"entry": [
|
|
"physics-builtin",
|
|
"physics-framework"
|
|
]
|
|
},
|
|
{
|
|
"text": "ammo.js",
|
|
"entry": [
|
|
"physics-ammo",
|
|
"physics-framework",
|
|
"wait-for-ammo-instantiation"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Physics 2D",
|
|
"description": "Physics 2D",
|
|
"default": true,
|
|
"options": [
|
|
{
|
|
"text": "box2d",
|
|
"entry": [
|
|
"physics-2d-box2d",
|
|
"physics-2d-framework"
|
|
]
|
|
},
|
|
{
|
|
"text": "builtin",
|
|
"entry": [
|
|
"physics-2d-builtin",
|
|
"physics-2d-framework"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Intersection 2D",
|
|
"description": "Intersection 2D.",
|
|
"entry": "intersection-2d",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Audio",
|
|
"description": "Audio support.",
|
|
"entry": "audio",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "VideoPlayer",
|
|
"description": "VideoPlayer support.",
|
|
"entry": "video",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "WebView",
|
|
"description": "WebView support.",
|
|
"entry": "webview",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Tween",
|
|
"description": "Tween support.",
|
|
"entry": "tween",
|
|
"default": true
|
|
},
|
|
{
|
|
"text": "Terrain",
|
|
"description": "Terrain support",
|
|
"entry": "terrain",
|
|
"default": true
|
|
}
|
|
]
|
|
}
|