Commit Graph

11 Commits

Author SHA1 Message Date
Leslie Leigh e5c94a04a8 fix bug (#4055) 2019-03-18 16:20:33 +08:00
Leslie Leigh dcfb485d69 fix ammo-impl bugs (#3997) 2019-03-11 17:32:16 +08:00
Leslie Leigh b7869b595d restructure physics (#3985) 2019-03-08 11:30:14 +08:00
Leslie Leigh 1c967ed52f modify CCNodePool, change rigidbodycomponent implement (#3979) 2019-03-07 15:19:57 +08:00
Leslie Leigh 2b3a26ec7d modify default friction to 0; add api applyImpulse (#3972) 2019-03-06 15:55:04 +08:00
Leslie Leigh 19c390b8d9 modify default physics material (#3970) 2019-03-06 09:15:48 +08:00
Leslie a83b1a7bdf remove PhyscisBody, PhysicsShape concepts, directly use RigidBodyComponent, CollidersComopnent; add Constraints. 2019-02-22 14:41:22 +08:00
Yun Hsiao Wu 3e8eb35072 misc bugfix and restructure 2019-01-23 11:04:19 +08:00
Yun Hsiao Wu 74fe021641 misc fix 2019-01-21 21:54:44 +08:00
Leslie Leigh cf180d57d9 do not run phy system in editor;support center of phy shape;fix setWorldPosition() bug (#3690)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform
2019-01-02 16:51:01 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +08:00