Files
cocos4/package.json
T
jiaxin.lai 65b0478c69 v1.2 new physics features (#7037)
* 3d v1.1.1-exp physics expriment (#6787)

* activate when not awake (#6781)

* activate when not awake

* cannon too

* off event listener when onDestroy

* add clearVelocity & clearForces

* add CC_CONFIG to ammo\cannon

* add convex mesh & reuse mesh

* cache enable false by default

* terrain collider

* cone collider

* fix scale of ammo box & sphere

* simple collider

* add worldBounds & boundingSphere to collider

* add clear*** to rigid body

* enhance physics material

* enhance event

* plane collider

* stash

* tweaks

* update @cocos/ammo to v1.0.7-beta.1

* typing

* enchance update shape dynamic

* absolute scale cannon-box

* expose allowsleep

* fix warning of generate declaration

* remove physics_builtin

* DO NOT MERGE

* Better reuse

* Correct construct and deconstruct

* avoid ammo memory leaks

* minor refactor contact data

* fix cannon terrain tileSize

* stash

* optimize auto wakeup

* [Ammo] fix update by re add

* 400~

* overwrite ArrayCollisionMatrix.prototype.reset

* Export enum by namespace

* stash

* fix remove child shape of btCompound

* fix event with CCD

* dynamic instantiate

* STASH

* add group to rigid body

* update attachedRigidBody of collider in editor

* stash physics config

* tweaks of ammo config

* stash

* stash

* collision matrix

* stash

* rename deltaTime to fixedTimeStep

* group mask collider

* allow get mask

* set default group to Layers.Enum.DEFAULT

* add group change fallback

* cannon collision matrix

* fix

* update @cocos/ammo to 1.0.7-beta.2

* more prop

* fix

* disable on 1.1.1-exp

* tweaks

* fix circular dependency

* tweaks

* rename simple to simplex

* rename collider -> colliders

* stash

* ammo p2p

* hinge constraint

* adapt cannon p2p pivotB

* ammo p2p setPivotB

* constraint

* tweaks

* remove macro of physics

* refactor physics selector

* import ammo from ammo-instantiated

* update @cocos/ammo

* update @cocos/cannon
2020-08-03 11:00:07 +08:00

58 lines
1.8 KiB
JSON

{
"name": "cocos-creator-3d",
"version": "1.1.1",
"description": "Cocos Creator 3D is a cross-platform 3D game engine written in Javascript, licensed under MIT.",
"homepage": "http://www.cocos.com",
"license": "MIT",
"authors": [
"AUTHORS.txt"
],
"module": "index.js",
"scripts": {
"server": "http-server . -p 8002 -o http://127.0.0.1:8002/playground/index.html",
"build": "gulp build",
"build:dev": "gulp build-code",
"build:min": "gulp build-code-minified",
"build-declaration": "gulp build-declarations",
"build-api-json": "gulp build-api-json -i index.ts -o ./3d-api-docs/tempJson",
"build-api": "npm run build-api-json && gulp build-3d-api -i index.ts -o ./3d-api-docs -j ./3d-api-docs/tempJson",
"test": "gulp test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cocos-creator/engine.git"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "7.8.7",
"@cocos/babel-preset-cc": "2.1.0",
"@cocos/build-engine": "2.0.1",
"@cocos/typedoc-plugin-internal-external": "^1.0.0",
"@cocos/typedoc-plugin-localization": "^1.0.0",
"@types/fs-extra": "^5.0.4",
"@types/jest": "^24.0.25",
"@types/yargs": "^12.0.14",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"commander": "^2.20.3",
"dat.gui": "^0.7.5",
"eslint": "^6.8.0",
"fs-extra": "^7.0.1",
"gulp": "^4.0.2",
"http-server": "^0.11.1",
"jest": "^24.8.0",
"spectorjs": "^0.9.15",
"stats.js": "^0.17.0",
"tfig": "^1.2.5",
"typedoc": "^0.17.7",
"typedoc-plugin-external-module-name": "^4.0.3",
"typescript": "^3.7.2",
"vconsole": "^3.3.0",
"yargs": "^12.0.5"
},
"dependencies": {
"@cocos/ammo": "^1.0.7-beta.4",
"@cocos/cannon": "^1.1.1-exp.4"
}
}