ChiaNing
9da70cce0b
math function add ( #5076 )
...
* math function add
* rebase
2019-08-05 09:44:25 +08:00
ChiaNing
172e291e53
new file API add ( #5049 )
2019-08-01 17:02:28 +08:00
ChiaNing
4bc2739786
Vmath ( #4987 )
...
* Vmath (#4895 )
* vmath refactor
* value-type API change
* vmath change update
* conflict fix
* value types change
* translate modify (#4917 )
* value types bug fixed (#4940 )
* playground update (#4946 )
* bug fixed
* bug fixed
* bug fixed
* bug fix
* util modify
* create remove & ccenum rename
* export by cc.math
* Rename value-types to math
* util funtion deprecated warn
* value-types change
* color test fix
* color API change
2019-07-29 11:50:51 +08:00
pandamicro
1380e46c34
Unittest ( #4973 )
...
* unit test for ts
* Fix ts-jest warnings
* Remove puppeteer for now
* fix physics define and jest config for windows
* Replace Node ref with INode ref
* Fix ci issue
* Fix
* tweak
* tweak
* Fix vscode launcher
* now physics framework export all physics component (#28 )
* tweaks
2019-07-25 17:15:20 +08:00
jiaxin.lai
6bdd48da31
add allowSleep api to rigidbody ( #4934 )
2019-07-22 11:52:49 +08:00
Leslie Leigh
c17f28201d
module division 2 ( #4907 )
...
* module division
* update
* update
* small fix
* allow co-existing of physics modules
* update
* upgrade rollup-plugin-node-resolve
* refine build engine cli
* fix
* upgrade rollup plugin commonjs
* fix
* mark physics module as required
2019-07-19 16:12:45 +08:00
Weiliang Wang
db12f03059
Revert "module division ( #4897 )" ( #4906 )
...
This reverts commit 78247a0d2f .
2019-07-18 10:45:44 +08:00
jiaxin.lai
194125b70f
wakeup body if change state of the body ( #4902 )
2019-07-18 09:27:50 +08:00
Leslie Leigh
78247a0d2f
module division ( #4897 )
...
* module division
* add animation component
* fetch changes
* dev
* typo
2019-07-18 09:27:02 +08:00
jiaxin.lai
765ac770f0
add physiscs system interface ( #4866 )
2019-07-12 10:03:47 +08:00
ChiaNing
00c904d6cb
api-doc modfiy ( #4803 )
2019-07-03 16:07:49 +08:00
ChiaNing
9b3858a3e7
API-Doc format modify ( #4761 )
2019-07-01 09:33:24 +08:00
ChiaNing
f79924e288
Some API Doc modify ( #4725 )
...
* Some API Doc modify
* loader API Doc modify
2019-06-27 09:51:10 +08:00
jiaxin.lai
e3bd03f037
api module declare for physics ( #4687 )
...
* api module declare for physics
* modify physics api
* update physics profile
2019-06-26 10:42:55 +08:00
jiaxin.lai
cb2786a789
Physics enegine event refactor ( #4675 )
...
* update cannon.js & cannon.js declaration
* plugin cannon.js collsion event & provide contacts(testing for now)
* wrap cannon body impl
* add linear\angular factor to rigidbody component
* add awake sleepy sleeping state query get property
* add apply local force/impulse function to rigidbody component
* add builtin macro protection
* add linear/angular veloctiy function to rigidbody component
* delete some unneed code, enable allowSleep by default
* event refactor, trigger emit by shape, collision emit by rigidBody
* Builtin system also need 'beforeStep'
2019-06-24 18:32:00 +08:00
jiaxin.lai
dcbd593001
add physics macro to global in publish, set cannon to default ( #4660 )
2019-06-20 16:19:59 +08:00
jiaxin.lai
b81f4471f3
Fix cannon add&remove mask method ( #4652 )
...
* Fix cannon add&remove mask method
* remove extra condition
* group and mask use bit operation only
2019-06-20 11:39:41 +08:00
jiaxin.lai
81e19a0377
Fix builtin add&remove mask bug ( #4638 )
2019-06-18 09:27:53 +08:00
jiaxin.lai
373ac1ca09
spilt cannon-impl to folder of cannon ( #4631 )
2019-06-17 15:44:08 +08:00
jiaxin.lai
28b18223da
Adjust group & mask documents, add get/set-CollisionFilter-group/mask interface ( #4602 )
2019-06-14 10:20:02 +08:00
jiaxin.lai
b8888a4317
Add Physics group and mask docments ( #4597 )
2019-06-12 17:04:46 +08:00
jiaxin.lai
38c2478b19
Add method to collider ( #4561 )
...
* Fix bug of Cannon physics
* Add on、off、once to collider-component
* Modify collision event emit param
* Rename ColliderComponentBase to ColliderComponent and export ColliderComponent;
* Add export-api file for export some physics api to user
* on、off、once Change to private
* Collider manage collision event
2019-06-11 17:32:33 +08:00
jiaxin.lai
a1883b6cc6
Fix bug of Cannon physics ( #4557 )
2019-06-06 18:57:31 +08:00
jiaxin.lai
34c8e6650d
Physics builtin ( #4547 )
...
* Rename built-in-*** to builtin-***
* Rename r to radius and c to center;
* Add method : transkateAndRotate & setScale to obb & sphere;
Delete unneed class box in box.ts file
* Fix builtin physics Bug of #751 & Modify the physics relative component
* Add macro condition, some method is not declare in builtin
* Rename CC_PHYISCS_*** to CC_PHYSICS_***;
* rename BuiltIn*** to Builtin***
* Typing intersect
2019-06-05 10:27:09 +08:00
jiaxin.lai
69076d6d3b
Fix builtin physic engine bug ( #4482 )
...
* Fix builtin physic engine bug
* add pretect of setWorld when mutiple call setWorld(null)
2019-05-24 10:23:35 +08:00
jiaxin.lai
c98f25d53e
remove the collider body from world When the collider has shape only ( #4470 )
...
* remove the collider body from world When collider has shape only;
set body group default value to 1;
* Add declare for phyiscs macro
2019-05-22 14:07:57 +08:00
jiaxin.lai
0239df8687
Add Physics Api removeMask ( #4444 )
2019-05-17 16:50:44 +08:00
jiaxin.lai
eaa5edb199
Adjusting mask of body,add note for interface ( #4402 )
2019-05-11 22:53:13 +08:00
jiaxin.lai
45c1c12ab5
Add group&mask to rigidbody ( #4399 )
2019-05-10 08:44:46 +08:00
jiaxin.lai
693b994857
Collision events are subdivided into ' Enter ', ' Stay ', ' Exit ' three states ( #4391 )
2019-05-09 17:12:05 +08:00
jiaxin.lai
87e573d956
Implementing the physical selector function through conditional branching ( #4352 )
2019-04-30 15:05:07 +08:00
jiaxin.lai
17f37f7c91
Adjust the collision event trigger mechanism of the built-in physical engine; ( #4346 )
...
Add interface " onTrigger*** & onCollision*** " to the built-in physical engine;
Add util class " ArrayCollisionMatrix "
2019-04-30 10:54:57 +08:00
jiaxin.lai
5cd6c24146
fix circular dependency ( #4331 )
2019-04-28 17:13:49 +08:00
jiaxin.lai
d2eb6eaca4
转换物理引擎为 built-in ( #4324 )
2019-04-26 19:14:15 +08:00
Leslie Leigh
41c57d1710
typing ( #4321 )
2019-04-26 18:39:52 +08:00
jiaxin.lai
a136c949ad
增加 built-in 物理模块 ( #4320 )
2019-04-26 18:38:26 +08:00
jiaxin.lai
e08ac60ec2
Extract enum to avoid circular reference ( #4298 )
2019-04-25 14:43:06 +08:00
jiaxin.lai
1982751da3
Adjustment modules to avoid circular reference , split 'enum' type from 'instance.ts' , add to 'physics-enum.ts' ( #4235 )
2019-04-17 19:27:59 +08:00
jiaxin.lai
0609c58a9d
Fix problems where physics and scene synchronization are different ( #4224 )
2019-04-15 20:25:26 +08:00
jiaxin.lai
5a0b49ac25
fixes applyForce and applyImpulse function call error, modify shape and body construct order ( #4195 )
2019-04-12 09:49:44 +08:00
jiaxin.lai
449e7640dc
Construct a rigid body should be before the user script can access the rigid body ( #4189 )
2019-04-11 14:54:51 +08:00
jiaxin.lai
9562e4ae01
add uglify workflow in build engine, modify uglify parameter ( #4174 )
2019-04-09 17:35:49 +08:00
jiaxin.lai
abc2d65da1
fixes UseGravity property in rigidbody component ( #4165 )
2019-04-08 18:14:45 +08:00
jiaxin.lai
3bb398a31f
Fix a problem where the physical system collision event does not trigger because of automatic sleep, adding a trigger property to the collider component ( #4158 )
2019-04-08 14:35:23 +08:00
Leslie Leigh
682c9d19dc
Leslie ( #4103 )
...
* physics system use fixed frame-rate
* wakeup bodies before apply force and impulse
2019-03-26 00:12:28 +08:00
Yun Hsiao Wu
59f7cc1594
material: custom pipeline states ( #4059 )
2019-03-18 16:46:28 +08:00
Leslie Leigh
b3e3ff2b3c
move declaration files into @types; adapt sampler interface; fix comp… ( #4051 )
...
* move declaration files into @types; adapt sampler interface; fix compiler error
* typing asset/raw-asset
* compiler errors
* delete asset.d.ts
* change tsconfig-gendecls.json
* fix
2019-03-15 17:26:37 +08:00
Leslie Leigh
a2416ba312
normalize the RaycastResult; allow rigidbody to sleep to prevent shake ( #4028 )
2019-03-13 18:21:15 +08:00
jerrywwl
24608778c1
fix conflicts
2019-03-12 09:58:04 +08:00
jerrywwl
7b806d34dc
Merge branch '3d' of https://github.com/cocos-creator/engine into 3d
2019-03-11 23:48:53 +08:00