Commit Graph

61 Commits

Author SHA1 Message Date
Wojtek Figat
8c2a156e1f Add SourceState and DestinationState modes to State Machine interruption modes in Anim Graph
#1735
2024-01-07 18:34:15 +01:00
Wojtek Figat
6d58883454 Add events tracing feature to Animated Model for animation playback insights 2024-01-05 21:42:28 +01:00
Wojtek Figat
b6337c748c Fix stopping slot animations and playing the same frame
#1927
2024-01-05 17:11:41 +01:00
Wojtek Figat
60fd4702a6 Fix crash when using degenerated triangle in Multi Blend 2D to properly sample animation
#2118
2024-01-05 11:52:28 +01:00
NoriteSC
0cb064bfb3 fixed Blend Additive
problem mesh was just exploding
+ code should be faster
2023-12-09 23:41:17 +01:00
Wojtek Figat
f7e9465ce8 Avoid memory alloc #2042 2023-12-08 10:29:22 +01:00
Wojtek Figat
73a3e147ca Merge branch 'add-blend-anim-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-blend-anim-fix 2023-12-08 10:26:34 +01:00
Chandler Cox
a6a94d5f77 2nd pass on additive blend math. 2023-12-08 00:59:41 -06:00
Chandler Cox
91033a6468 Simplify 2023-12-07 20:51:24 -06:00
Chandler Cox
73074b6e44 Enable Transform Lerp 2023-12-07 20:31:18 -06:00
Chandler Cox
e9285410e2 Fix blending additive animations. 2023-12-07 20:27:24 -06:00
Wojtek Figat
526edb83de Add Async to anim events (false by default) to delay events execution into main thread and prevent multi-threading issues by default
#2033
2023-12-07 15:21:03 +01:00
Wojtek Figat
ea81ac6a71 Fix crash in Multi Blend 2D node in Anim Graph when using single animation on a triangle 2023-11-21 11:10:05 +01:00
Chandler Cox
b72849eafe Fix anim slot from playing animations more than 1 time based on speed. 2023-11-06 19:52:19 -06:00
Wojtek Figat
0175186c27 Improve #1627 to return proper anim length 2023-10-12 12:17:55 +02:00
Chandler Cox
8eb9df9a18 Change new anim port to TryGetBox. 2023-10-11 15:57:02 -05:00
Wojtek Figat
3ac7c4e0ee Codestyle fix 2023-10-09 23:21:02 +02:00
Wojtek Figat
dafc8a61c1 Merge branch 'AnimationSampleNode-AnimationAssetReferencePort' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-AnimationSampleNode-AnimationAssetReferencePort 2023-10-09 22:24:57 +02:00
Nils Hausfeld
63d57151d0 - Minor cleanup 2023-10-06 17:50:19 +02:00
Nils Hausfeld
e07ae33040 - Added input box to animation sample node to receive animation assets
- AssetSelect not gets shown or hidden depending on if the box has a connection
- Animation asset reference box now overrides asset picker
2023-10-06 15:23:43 +02:00
MineBill
618b1bfd39 Evaluate transition data before executing the transition rule. 2023-10-01 16:13:49 +03:00
Wojtek Figat
595bb2b7fa Fix nested animation playrate when the framerate is different
#1258
2023-08-18 00:17:27 +02:00
Wojtek Figat
543433440e Fix nested animation playrate when the framerate is different
#1258
2023-07-24 19:21:03 +02:00
Wojtek Figat
84c99ea1c3 Fix nested animation sampling bug
#1244
2023-07-14 13:10:20 +02:00
Wojtek Figat
ab2cfe89ce Fix looping animation in Anim Graph when using start position offset 2023-05-10 12:47:59 +02:00
Wojtek Figat
aab3d494ff Fix crash when sampling animation in Anim Graph that uses it's length to calculate start position 2023-05-10 12:27:10 +02:00
Wojtek Figat
c91bc0d8c6 Improve Root Motion extraction and playback 2023-05-04 15:10:55 +02:00
Wojtek Figat
a889d888ff Refactor RootMotionData into Transform to simplify code 2023-05-04 14:18:12 +02:00
Wojtek Figat
05ffaf7cef Add **skeleton retargeting** to play animations on different skeletons 2023-05-04 11:54:17 +02:00
Wojtek Figat
5b50562a9f Refactor Skeleton Mapping to be handled by Skinned Model instead of Animation asset 2023-04-26 14:27:01 +02:00
Wojtek Figat
698a9f1938 Add **Interruption options** to State Machine transition 2023-04-25 10:47:10 +02:00
Wojtek Figat
7158cfb5bf Add **Any State to Anim Graph state machines** 2023-04-24 20:20:27 +02:00
Wojtek Figat
835127ac21 Add **Animation Instance Data node to Anim Graph** for caching value per-model 2023-02-14 12:39:58 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
8694bd6af9 Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:43 +02:00
Wojtek Figat
3b52914416 Add **Nested Animations** for compositing animation clips 2022-07-31 15:53:09 +02:00
Wojtek Figat
3a39dad30f Fix invoking anim events for multi blend animations 2022-07-29 20:25:13 +02:00
Wojtek Figat
3925c6221c Fix Multi Blend 2D node if all blend points are on the same line
#719
2022-06-14 20:46:55 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
991abb1cf8 Add loopCount to PlaySlotAnimation for looping slot animation 2022-04-14 23:18:37 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
82a43dea28 Add **Animation Events** 2022-01-08 15:06:25 +01:00
Wojtek Figat
3c3f2ae075 Add **Animation Slot** node for playing animations from code in Anim Graph 2021-12-16 18:57:33 +01:00
Wojciech Figat
c23ec9935f Fix Multi Blend 1D/2D root motion extraction with blending
#678
2021-12-10 12:48:37 +01:00
Wojciech Figat
2b1e5e4958 Fix various issues with Multi Blend 2D node 2021-12-09 17:09:31 +01:00
Wojciech Figat
af2c5b3429 Add batching the same function inputs in Anim Graph for better usability 2021-12-03 15:38:21 +01:00
Wojciech Figat
583b39fe6b Optimize Anim Graph state machine transition rule evaluation to happen before state evaluation for early rejection 2021-12-03 15:37:33 +01:00
Wojciech Figat
136b1fc421 Fix anim graph crash regression 2021-11-23 17:25:40 +01:00