Commit Graph

12 Commits

Author SHA1 Message Date
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
jiaxin.lai 765ac770f0 add physiscs system interface (#4866) 2019-07-12 10:03:47 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +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 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 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 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 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
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