Commit Graph

7 Commits

Author SHA1 Message Date
pandamicro
dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
Santy-Wang
ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
jiaxin.lai
0dc393b884 3d physx (#8005)
* support physx physics engine

* tweaks

* stash contact event

* update @cocos/physx

* basic event impl

* stash

* support BYTEDANCE

* stash

* stash

* fix inertia

* PhysX mesh collider

* PhysX static trimesh geometry

* PhysX terrain collider

* add kinematic

* bytedance plane collider

* bytedance v2

* support trigger

* bytedance triangle mesh support

* raycast filter

* raycast support

* stash all

* stash

* center of mass

* stash

* stash fixed joint

* stash

* stash

* physx hinge joint

* physx distance joint

* tweaks

* tweaks

* bytedance raycast

* tweaks

* update mass

* tweaks

* tweaks

* joint

* stash

* bytedance adapters

* tweaks

* stash

* apply force/impulse

* add updateEventListener

* Fixed some loose usage

* add getShapeFlags/getShapeMaterials

* tweaks

* optimize bytedance adapter

* fix isStaticsOrKinematic

* support cylinder & cone

* contact normal

* update @cocos/physx to 1.0.0-beta.5

* rigid body tweaks

* add syncAfterEvents

* hinge constraint

* filter static - static

* ammo refactor

* cannon refactor

* ammo p2p constraint refactor

* update @cocos/ammo to 1.0.8

* lint ammo

* more lint

* docs

* tweaks

* avoid direct use globalThis
2020-12-24 13:45:03 +08:00
pandamicro
b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Leslie Leigh (李的序)
bc5b531191 Add decorator @editable @serializable (#7178) 2020-09-02 11:44:12 +08:00
jiaxin.lai
50d6264086 fix reset of array collision matrix (#6299)
* fix reset of array collision matrix

* reuse array
2020-03-11 14:31:42 +08:00
jiaxin.lai
87c6b9bda4 Ammo-Wrapper (#5954)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* hiding, wait for 1.0.3

* delete unneed code

* export CANNON

* rebase

* rename stash

* rename I-rigid-body to i-rigid-body

* stash

* stash

* cannon refactor

* cannon wrapper & framework tweaks

* remve unneeded code

* wrap,....hack

* demo impl

* stash

* stash, complete dynamics update

* dynamic update center

* stash, size + center

* tweaks, fix share trigger shape

* tweaks

* stash

* ammo events stash

* tweaks

* stash

* complete ammo events

* tweaks

* stash

* body property, stash

* body , stash...

* tweaks

* tweaks

* tweaks

* ammo tweaks

* stash

* stash

* tweaks

* tweaks

* stash,complete tirgger,body、 ghost etc.

* tweaks

* remove unneeded code

* fix api of angluar velocity

* physic material for single body for now

* ray test stash

* stash

* update ammo version

* impl raycast

* impl group mask

* update ammo version

* update ammo package

* add onDestroy to ammo rigid body

* add protected for temporary

* fix allow sleep

* remove unneed code

* shape tweaks

* stash

* rename spahe to shape

* tweaks

* fix damping

* adapt

* reset state after disable & enable

* export ammo.js

* Revert "cannon wrapper & framework tweaks"

This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.

* update @cocos/ammo version

* fix applyLocalTorque

* tweaks

* beta version

* fix import i-rigid-body

* delete unused file

* Specification function name
2019-12-25 17:34:12 +08:00