24 Commits

Author SHA1 Message Date
Harald Csaszar
87e5a84cff [unity] Fixed SkeletonRootMotion 3D rigidbody rotational root-motion. Closes #2143. Added SkeletonRootMotion callback delegates ProcessRootMotionOverride and PhysicsUpdateRootMotionOverride to customize how root motion is applied. 2022-08-30 17:55:38 +02:00
Harald Csaszar
90c4569596 [unity] Updated license headers which were not yet up to date. 2022-08-18 11:58:51 +02:00
Harald Csaszar
696c723013 [Unity] Now really fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. See #2110. 2022-07-13 20:34:17 +02:00
Harald Csaszar
2ef38e4f01 [Unity] Fixed SkeletonRootMotion out of bounds access when selecting non-default Root Motion Bone with a TransformConstraint. Closes #2110. 2022-07-13 12:19:21 +02:00
Harald Csaszar
f7aaa25ee1 [unity] Optimized RootMotion components behaviour when using FixedUpdate timing at SkeletonAnimation, avoiding unnecessary calls. See #2046. 2022-03-18 11:37:25 +01:00
Harald Csaszar
322d042309 [unity] RootMotion component: minor addition of last commit, avoiding unnecessary update. 2022-03-17 17:50:24 +01:00
Harald Csaszar
69b2a5ce13 [unity] Fixed RootMotion components temp movement not being completely cleared when using FixedUpdate. Closes #2046. 2022-03-17 17:44:29 +01:00
Harald Csaszar
3688bdb25e [unity] SkeletonRootMotion components now support rotation root motion. 2022-02-23 20:49:15 +01:00
Harald Csaszar
3289550eb0 [unity] Added skeleton component Inspector parameter Advanced - Animation Update with modes In Update, In FixedUpdate and Manual Update. Added SkeletonRootMotion properties PreviousRigidbodyRootMotion and AdditionalRigidbody2DMovement. 2022-02-09 12:22:02 +01:00
Harald Csaszar
7e765c1b5b [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 20:30:52 +01:00
Harald Csaszar
4ad9c4fa24 [unity] minor formatting: changes to please format checks. 2021-11-16 18:08:54 +01:00
Harald Csaszar
90dd4bc8af [unity] SkeletonRootMotion components now respect TransformConstraint timelines. Closes #1944. 2021-11-16 18:01:00 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Harald Csaszar
8770e319c5 [unity] Fixed compile errors introduced by removed FindSlotIndex and FindBoneIndex methods. See commit dc9a6eb, see #1951. 2021-09-13 17:04:23 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Harald Csaszar
32449a3b4d [unity] SkeletonRootMotion component now offers a paramter to apply Rigidbody2D gravity. Defaults to false to keep existing behaviour. Closes #1941. 2021-08-16 18:17:19 +02:00
Harald Csaszar
e425d64d2c [unity] Fixed RootMotion scripts in combination with Rigidbody components. Now works smoothly. Closes #1880. 2021-04-21 20:27:52 +02:00
Harald Csaszar
692eed3a75 [unity] Root motion delta compensation now allows to add translation root motion to e.g. adjust a horizontal jump upwards or downwards. Fixed delta compensation to also respect any Skeleton-, Transform- or parent Bone scale. See #1876. 2021-04-14 17:56:59 +02:00
Harald Csaszar
dd7c3b1bcc [unity] Root motion delta compensation now allows to only adjust X or Y components instead of both. See #1876. 2021-04-12 17:31:00 +02:00
Harald Csaszar
7782b01cdf [unity] Fixed a compile error occurring only on Unity 2017, Vector2 not supporting operator* (introduced by commit 758a83a). See #1876. 2021-04-09 17:30:55 +02:00
Harald Csaszar
758a83ac96 [unity] SkeletonRootMotion components now support arbitrary bones in the hierarchy as Root Motion Bone. Now supporting arbitrary Skeleton.ScaleX/Y and parent bone scale. Closes #1876. 2021-04-09 17:15:45 +02:00
Harald Csaszar
7011a462db [unity] Added root motion scale parameters. Added SkeletonRootMotion.AdjustRootMotionToDistance() and more for delta compensation (to e.g. stretch a jump to a given distance). Closes #1754. 2020-09-02 19:48:28 +02:00
Harald Csaszar
528ab0cff2 [unity] Added Root Motion support for SkeletonAnimation, SkeletonMecanim and SkeletonGraphic. See #1417. 2020-07-03 14:59:14 +02:00