Commit Graph

11 Commits

Author SHA1 Message Date
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
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 Leigh dee10308a4 fix when use uint32arrat as index buffer (#3961)
* fix when use uint32arrat as index buffer

* add collide event
2019-03-05 10:27:15 +08:00
Leslie Leigh 8f9e5534d1 fix phys comp removal error (#3943)
* collider removal

* bug fix

* fix name
2019-03-01 18:25:07 +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 06eb5d8060 fix tsc errors 2019-01-08 16:38:26 +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