Commit Graph

201 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 23326432c5 Adjust code order to eliminate warning (#15418) 2023-06-14 11:09:10 +08:00
Leslie Leigh (李的序) ea58020d3f Fix clip frame events are not fired in animation graph (#15405)
* Support clip frame events in animation graph

* Opt

* Opt
2023-06-12 18:31:21 +08:00
Leslie Leigh (李的序) 2091f4617a Marionette/StateMachine: fix any state won't match proc pose states (#15381) 2023-06-08 17:46:09 +08:00
Leslie Leigh (李的序) fa936a9580 Marionette: fix animation blend 2d algorithm type is not setup correctly (#15377) 2023-06-08 17:40:26 +08:00
黄森斌 c283dcd42a [Bug] fix widget interface bug in inspector (#15364)
* fix widget interface bug

* fix image interface bug

* revert margin-right 4px in inspector

* optimize fbx interface in inspector

* change animation-graph integer variable  color
2023-06-08 10:52:48 +08:00
Leslie Leigh (李的序) da23e6ae16 Refactor animation graph event dispatching mechanism (#15330)
* Refactor animation graph event mechanism

* Fix test

* Update

* Revert
2023-06-07 18:33:26 +08:00
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
Leslie Leigh (李的序) aa1daed05d Marionette/PoseGraph: uniformly decide if a weight can be ignore (#15348) 2023-06-07 13:50:04 +08:00
Leslie Leigh (李的序) 41704deb74 Marionette/Stash: fix error if reenter() the stash but updated in later (#15337)
* Marionette/Stash: fix error if reenter() the stash but updated in later

* Optimize stash evaluate state
2023-06-07 11:43:38 +08:00
Leslie Leigh (李的序) 2dc0c0ae08 Marionette: add editor method to copy state machine as pose graph node (#15278)
* Marionette: add editor method to copy state machine as pose graph node

* Fix copy

* Fix Clone
2023-06-05 15:19:23 +08:00
Leslie Leigh (李的序) 82e29f7ae5 Marionette/StateMachine: fix state motion time binding (#15308) 2023-06-05 11:54:09 +08:00
Leslie Leigh (李的序) 100167485d Marionette/PoseGraph: allow specify start time for PoseNodePlayMotion (#15306) 2023-06-05 10:05:32 +08:00
Leslie Leigh (李的序) b9964895c6 Marionette: adjust additive animation rule (#15296)
* Marionette: adjust additive animation rule

* Rename base -> ref

* Importer UI
2023-06-02 15:36:12 +08:00
Leslie Leigh (李的序) f9f379df1e Marionette/PoseGraph: fix that a pose node can be connected multi times (#15231) 2023-06-02 10:36:04 +08:00
Leslie Leigh (李的序) f596589b8a Marionette/PoseGraph: disallow empty states in PoseNodeStateMachine (#15282) 2023-06-02 10:32:38 +08:00
Leslie Leigh (李的序) e86f70523b Marionette/PoseGraph: add node input option arraySyncGroupFollower (#15226) 2023-05-30 14:56:55 +08:00
Leslie Leigh (李的序) aa20a47678 Marionette: add ratio input to PoseNodeAdditivelyBlend; add tests (#15223) 2023-05-30 13:32:42 +08:00
Leslie Leigh (李的序) 09586e82a9 Animation graph: fix embedded play evaluation (#15198) 2023-05-26 11:22:51 +08:00
Leslie Leigh (李的序) 523a38d892 Add engine feature "procedural animation" (#15174) 2023-05-24 18:58:47 +08:00
Leslie Leigh (李的序) 24541a82de Rename term "pose state" -> "procedural pose state" (#15171) 2023-05-24 18:42:09 +08:00
Leslie Leigh (李的序) 75e07f86a0 Pose graph: add motion playing and sampling node (#15143)
* Add PlayMotionNode, SampleMotionNode

* Fix
2023-05-24 17:33:09 +08:00
Leslie Leigh (李的序) cee74cba32 Pose graph: add variable getting nodes (#15151)
* Pose graph: add variable getting nodes

* Fix unit test
2023-05-24 14:48:02 +08:00
Leslie Leigh (李的序) c1304cd11b Add editor api to stash pose graph; Config some nodes' editor behavior (#15148) 2023-05-24 14:24:47 +08:00
Leslie Leigh (李的序) 8b3d59d02c Pose graph: add pose modifying nodes (#15144)
* Add pose modifying nodes

* Update

* i18n
2023-05-23 15:21:54 +08:00
Leslie Leigh (李的序) 31d3e9206c Pose graph: add state machine node (#15145)
* Pose graph: add state machine node

* Import

* Add i18n
2023-05-23 15:01:36 +08:00
Leslie Leigh (李的序) cf4d799a4d Pose graph: add blending pose nodes (#15142)
* Add blending nodes and choosing nodes

* i18n
2023-05-23 14:31:46 +08:00
Leslie Leigh (李的序) 9ce1a56cb9 Animation graph: pose graph stash (#15050)
* Implement pose graph stash

* Update cocos/animation/marionette/pose-graph/stash/runtime-stash.ts

* Update cocos/animation/marionette/pose-graph/stash/runtime-stash.ts

* Rename

* Update
2023-05-23 13:00:18 +08:00
Leslie Leigh (李的序) ec2b401c73 Handle space conversion during pose graph evaluation, introduce base pose node class to modify pose (#15108)
* Process space conversion during pose graph evaluation

* Add comment
2023-05-23 12:01:31 +08:00
Leslie Leigh (李的序) 64dcd43354 Fix poseGraphOp.disconnectNode unexpected behavior (#15134) 2023-05-22 18:22:15 +08:00
Leslie Leigh (李的序) 23793fe37f Marionette: opt state reenter opportunity to avoid essential problem (#15106) 2023-05-22 15:35:52 +08:00
Leslie Leigh (李的序) 4b2fb0baba Event binding (#15133) 2023-05-22 15:34:42 +08:00
Leslie Leigh (李的序) f84baf24c5 Animation graph: pose graph i18n related change (#15117) 2023-05-22 10:50:11 +08:00
pandamicro 12fe7525f9 Merge pull request #15113 from cocos/develop
Merge remote-tracking branch 'upstream/develop' into marionette-next
2023-05-19 10:42:41 +08:00
Leslie Leigh (李的序) 018d4d68aa Animation: implement Transform.invert() (#15105) 2023-05-18 17:23:24 +08:00
Leslie Leigh (李的序) a7a16a625b Animation: lint and tweak (#15104) 2023-05-18 16:14:07 +08:00
Leslie Leigh 464342eb99 Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-05-18 14:46:30 +08:00
Leslie Leigh (李的序) 17cb4796f1 Animation graph: optimize some evaluation structures (#15049)
* Optimize some evaluation structure

* Update cocos/animation/marionette/state-machine/state-machine-eval.ts
2023-05-18 13:55:00 +08:00
Leslie Leigh (李的序) 038f386bec Lint rule: prefer interface style type definition (#15020)
* Lint rule: prefer interface style type definition

* Adapt lint

* Fix lint style
2023-05-18 13:37:54 +08:00
minggo 3a6e0ca2ba Merge pull request #15067 from cocos/develop
Merge develop into marionette-next
2023-05-17 14:06:57 +08:00
Leslie Leigh (李的序) 859140bf96 Reverse the arguments meaning of Transform.multiply (#15084) 2023-05-17 14:01:18 +08:00
Leslie Leigh (李的序) 11220129d7 Animation graph: experimentally support more types of variable (#14815)
* Animation graph: add experimental more types of variable

* Tweak
2023-05-12 14:38:25 +08:00
Leslie Leigh (李的序) 4304c05745 Complementarily implement pose graph (#14952)
* Implement pose graph

* Add test for query output node's input/outputs

* Fix isWellFormedInputKey()

* Tweak

* Use `Map` instead of `shellTag`

* Rename XNode -> PureValueNode

* Rename node input manager and node input options
2023-05-12 13:45:55 +08:00
Leslie Leigh (李的序) b119ee5bcf Optimize warn message if state machine matched too many transitions in a frame (#15016) 2023-05-10 14:22:31 +08:00
Leslie Leigh (李的序) e5939558e1 Optimize TCBinding, implement TCStateWeightBinding, add TCStateMotionTimeBinding (#15009) 2023-05-09 15:31:12 +08:00
Leslie Leigh (李的序) b8816590ae Animation graph: state machine adjustment (#14990)
* Animation graph: state machine adjustment

* Remove useless code; export factory interfaces

* Add test

* Update
2023-05-08 19:28:31 +08:00
pandamicro 71a11a7a14 Merge remote-tracking branch 'origin/v3.7.3' into develop
# Conflicts:
#	.github/workflows/run_test_cases.yml
#	cocos/rendering/planar-shadow-queue.ts
#	native/cocos/renderer/pipeline/PlanarShadowQueue.cpp
2023-05-08 11:55:56 +08:00
Leslie Leigh (李的序) 4a183b14c0 Fix exception in material uniform animation binding (#14764) 2023-04-28 09:22:37 +08:00
Leslie Leigh (李的序) 506548c2ea Animation graph custom events listening API (#14911) 2023-04-25 10:50:02 +08:00
Leslie Leigh (李的序) b12db9f12a Support more binary condition binding source (#14857)
* Binary condition

* Update

* Fix test & i18n
2023-04-23 15:11:56 +08:00
Leslie Leigh (李的序) 988e385e8e Animation graph: move code (#14819) 2023-04-18 15:26:01 +08:00