pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
Santy-Wang
464c9dd044
optimize api doc i18n ( #10965 )
...
* optimize api doc i18n
* refine docs
* refine
* refine
* adjust grammar error
2022-05-07 10:52:56 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
minggo
be735449af
Revert "remove some deprecated api ( #10656 )" ( #10694 )
...
This reverts commit a1b1fc5a09 .
2022-04-08 11:51:06 +08:00
minggo
a1b1fc5a09
remove some deprecated api ( #10656 )
...
* remove some deprecated api
2022-04-07 16:31:02 +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
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
jiaxin.lai
5c6567f59e
bullet physics optimization ( #9311 )
...
* stash
* stash
* stash
* use @cocos/bullet
* rename
* stash
* update constraint
* naming
* naming
* naming
* naming
* fix
* use compound by default
* stash
* fix
* rename and raycast
* refactor
* add state optimazation
* tweaks
* tweaks
* stash
* rename
* wechat wasm file path
* using promise
* remove @cocos/ammo
* i18n bullet(ammo.js) -> bullet
* tweaks
* update @cocos/build-engine to 4.2.11
* fix sync
* fix autosleep mechanism
* fix stability test
* fix destroy bullet world
* tweaks
* update @cocos/bullet to 1.0.0
* fix
* delete
2021-09-10 16:35:56 +08:00
pandamicro
3f615ab647
Add dt threshold ( #9181 )
...
* Add dt threshold
* Fix ci
* Fix game.step and add time unit comments
* Fix adjusted frame time
2021-08-14 23:22:03 +08:00
jiaxin.lai
4cda45bfd9
physics unit-test and features base 3.3 ( #9027 )
...
* support ccd
* clearState after change type
* fix Instantiate rigid body with custom group
* add some extra functions
* update physics libs
* tweaks rigid body component
* add EVENT_UPDATE to PhysicsMaterial
* tweaks
* support switch physics backend
* remove redundant constants
* add config & min volume size
* update @cocos/physx to 1.0.4
* fix destroy cannon world
* correct init if manual construct physics system
* disable log info in test
* add some physics unit test
* add physics unit test
* make the config optional
* add runInEditor to selector
* pack physx js libs by default
* fix
* STASH
* stash
* tweaks
* rename
* update test
* support query trigger
* update @cocos/ammo to 1.1.6
* fix raycast with query trigger in physx
* raycast test with query trigger
* rename
* docs
* fix calculate local inertia (#8956 )
* rename
* delete
* allow generate mesh/terrain collider at runtime
* tweaks
* use sap by default
* update @cocos/ammo to 1.1.8
* update @cocos/physx to 1.0.7
* update @cocos/cannon to 1.2.8
* update package-lock
* add ccd test
* remove config
* rename
* fix 2d phy sys typing
* support global allow sleep toggle for bullet
* tweaks
* use naive broadphase by default
* rename
* docs
* tweaks
* add missing jugement
2021-07-22 15:52:18 +08:00
mmyduckx
ec7a87afa3
add spine&db system && optimize system priority ( #8866 )
...
* add spine&db system && optimize system priority
* refine spine/db system
* fix misspelling
* refine
* remove errorID
* remove errorID
2021-06-29 16:59:52 +08:00
jiaxin.lai
eac556ddab
physx optimize and multi thread in bytedance ( #8706 )
...
* sync damping
* stash
* tweaks
* sync damping
* tweaks
* physx muti thread
* tweaks
* tweaks
* tweaks
* tweaks
* sync native physx dampings
* add end of frame to director
* tweaks
2021-05-25 15:45:40 +08:00
jiaxin.lai
28d62c8393
native physx ( #8455 )
...
* Stash
* add plane/capsule shape
* add syncTo/FromNativeTransform
* support trigger/collision events
* set rigid body property on enable
* group distinguish between serialized and lowlevel
* support trimesh-shape/mass-center
* fix cone/cylinder direction
* support cylinder/cone shape
* tweaks of pmtl
* fix setMesh
* support terrain
* support raycast
* support revolute joint
* support distance joint
* tweaks
* add some API docs
* tweaks
* optimize book and unBook
* tweaks
* tweaks
2021-04-19 20:21:29 +08:00
jiaxin.lai
47938b21d2
add physics i18n ( #8334 )
...
* add physics i18n
* ammo.js -> bullet(ammo.js)
* tweaks
2021-03-15 16:36:57 +08:00
jiaxin.lai
30cb5eb4e9
update api docs and cannon ( #8224 )
...
* DOCS
* update @cocos/cannon to 1.2.3
2021-01-28 11:45:39 +08:00
jiaxin.lai
6728263167
update physics group during runtime ( #8148 )
...
* update physics group during runtime
* change default to ammo
* add physx module
* add physics_physx i18n
2021-01-16 11:36:28 +08:00
jiaxin.lai
3dde2bc20a
support kinematic contact ( #8098 )
...
* support kinematic contact event
* support ammo kinematic contact event
* tweaks
2021-01-08 13:36:17 +08:00
jiaxin.lai
474724a128
Typing&deprecated ( #8069 )
...
* typing contact data
* remove raycast relative API in render scene
2020-12-31 17:41:34 +08:00
jiaxin.lai
fadf3d9b00
support dynamic select physics backend ( #8048 )
...
* support dynamic select physics backend
* skip physics ray group
* fix eslint
* lint
2020-12-30 15:47:06 +08:00
jiaxin.lai
d169d90713
support constraints auto-scaling ( #8015 )
...
* lint
* cannon constraint support auto-scaling
* fix kinematic/static body
* tweaks
* remove onLoad that was not necessary
* ammo constraint support auto-scaling
* physx joint refactor
* using fastRemoveAt
2020-12-25 16:36:18 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +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
9b75d50b1b
Improve game mainLoop safety ( #7796 )
...
* Improve game mainLoop safety
* Fix ci
* Fix ci
* Fix game pause state set
* Fix game init timing
* Fix camera component imports
* Fix eslint warnings
* allow dangling underscores
* Fix more warning
2020-12-22 18:19:40 +08:00
zheng han
720d372bf7
3d rename class under geometry namespace ( #7816 )
2020-11-19 11:58:33 +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
jiaxin.lai
86f761c05f
3d rigidbody refactor ( #7635 )
...
* hack of visible decorator
* tweaks
* disable node chain
* using setType instead isKinematic
* fix ammo rigid body
* disable scaling of terrain shape
* twaks
* update default prefab to 1.1.22
* docs
* renaming & deprecated
* docs
2020-10-30 19:03:12 +08:00
jiaxin.lai
3c17cb9e1e
refactor collision matrix ( #7538 )
...
* refactor collision matrix
* add deprecated
* tweaks
2020-10-28 14:15:20 +08:00
Leslie Leigh (李的序)
f99240f664
@cocos/build-engine: add option to remove deprecated features ( #7603 )
2020-10-27 18:28:58 +08:00
jiaxin.lai
4cc4808072
correct the name of physics material ( #7597 )
...
* correct the name of PhysicsMaterial
* tweaks
2020-10-27 18:25:57 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
Yun Hsiao Wu
d61330ee03
discrete descriptor set layout bindings ( #7536 )
...
* allow discrete descriptor set layout bindings
* specialize local DS layout
* fix binding indices mapping
* fix shadows
* UI: update buffer after device.acquire
* update shadow phase name
* ext blend minmax support
* fix splash screen on native
2020-10-20 15:08:17 +08:00
coulsonwang
af31f258ee
fix sphere invalid buffer pool handle ( #7529 )
2020-10-15 10:29:44 +08:00
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
jiaxin.lai
17866af905
tweaks tooltip of isTrigger ( #7485 )
2020-10-10 14:17:41 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
GengineJS
4b64c9615e
[Feature] physicsSystem class adds GameView mode ( #7375 )
2020-09-15 10:27:38 +08:00
Leslie Leigh (李的序)
4e56acb851
Fix missed cc.* ( #7282 )
...
* Fix missed `cc.*`
* Fix
2020-09-02 19:04:38 +08:00
jiaxin.lai
3933474f3e
change default mask value of collision matrix ( #7277 )
2020-09-02 15:32:48 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00
Leslie Leigh (李的序)
bc5b531191
Add decorator @editable @serializable ( #7178 )
2020-09-02 11:44:12 +08:00
jiaxin.lai
d727090b72
fix auto simulation ( #7264 )
...
* fix auto simulation
* sync only once if accumulator not enough
* tweaks
2020-09-01 23:00:51 +08:00
jiaxin.lai
8ff8363eac
Using physics group ( #7259 )
...
* using physics group
* tweaks
* rename
* remove time reset
* rename
* change emit events order
2020-09-01 10:20:11 +08:00
Leslie Leigh (李的序)
4f2eff842d
Full optimize decorators ( #7166 )
...
* Full optimize decorators
* Conflicts
* Rename immutable -> readOnly
* Update
* Update
* Update
2020-08-18 19:10:34 +08:00
jiaxin.lai
f3e7549628
Fix constant force ( #7153 )
...
* add reset accumulator to physics system
* fix constant force
* don`t initPhysicsSystem in EDITOR
2020-08-17 23:03:43 +08:00
Leslie Leigh (李的序)
7d944f0813
Optimize physics selector ( #7082 )
...
* Optimize physics selector
* CI
* Update
2020-08-13 18:32:31 +08:00
Leslie Leigh (李的序)
26df6fb1c0
Optimize editor decorators ( #7002 )
2020-08-05 10:36:52 +08:00
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
pandamicro
b2830f5271
Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/light-component.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-state.ts
# cocos/core/assets/image-asset.ts
# cocos/core/data/object.ts
# cocos/core/event/callbacks-invoker.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/pipeline/define.ts
# cocos/core/platform/event-manager/events.ts
# cocos/core/primitive/primitive.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/core/scene-graph/node-event-processor.ts
# cocos/core/splash-screen-webgl.ts
# cocos/particle/index.ts
# cocos/terrain/terrain.ts
# exports/base.ts
2020-06-17 14:47:36 +08:00