Commit Graph

81 Commits

Author SHA1 Message Date
Wojtek Figat
f353d3f114 Fix looping root motion 2024-05-09 10:16:45 +02:00
Wojtek Figat
667e8bc293 Minor cleanup in anim code 2024-05-09 10:16:34 +02:00
Wojtek Figat
5f02b4173a Fix nested animations sampling
#2472
2024-04-22 13:29:29 +02:00
Wojtek Figat
93e26afa05 Optimize Anim Graph node size and remove limit of max 64 state transitions 2024-04-19 16:31:11 +02:00
Wojtek Figat
7653fba381 Refactor Multi Blend nodes to support up to 255 blend points 2024-04-19 16:30:34 +02:00
Wojtek Figat
71fe280464 Refactor Visject Graph nodes data for unlimited size 2024-04-19 12:22:04 +02:00
Wojtek Figat
0845866c4d Add live debugging of blend position in Multi Blend 2024-04-18 18:42:31 +02:00
Wojtek Figat
c83b74c85d Fix blending nested animations to properly handle it per-node
#2416
2024-04-16 23:25:37 +02:00
Wojtek Figat
3f6dd92a68 Fix crash when using old Blend with Mask node in Anim Graph
#2434
2024-04-14 14:51:40 +02:00
Muzz
35f33b6746 Fixed IK to have correct bone roll 2024-04-12 12:07:26 +08:00
Wojtek Figat
e68c736607 Fix Any state transitions UpdateStateTransitions
#2244
2024-02-27 17:15:49 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
d08843900e Add AnimationRootMotionFlags to configure root motion component extraction
Add `RootMotionMode` to support extracting root motion from animated skeleton pose center of mass

#1429 #2152
2024-02-09 15:37:29 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
eed780a0b0 Add highlighting active state in anim graph 2024-02-07 19:31:34 +01:00
Wojtek Figat
cfb8350c65 Fix anim graph debugging to handle nested graph connections highlights properly 2024-02-07 19:22:07 +01:00
Wojtek Figat
a38d1ad7cc Fix anim graph trace events debugging to include nodes path for nested graphs 2024-02-07 19:03:38 +01:00
Wojtek Figat
e75902e900 Variosu tweaks 2024-02-07 18:56:07 +01:00
Wojtek Figat
c0e3b27880 Codestyle fix #2211 2024-02-06 16:17:43 +01:00
ruan
74d348706c Add skeleton mask asset parameter to Blend With Mask anim node. 2024-01-27 14:23:41 -04:00
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