修改此控制項目會使頁面自動更新

Combining behaviors with keyframes in Motion

Any object can have behaviors and keyframes applied to it simultaneously. When this happens, the values generated by the behavior and the keyframed values applied to the parameter are combined to yield the final value for that parameter. This lets you combine the automatic convenience of behaviors with the direct control of keyframing to achieve your final result.

Note: Motion has a specific order of operations for keyframes and behaviors. See Behavior order of operations in Motion.

For example, if you create an animation path using keyframes, you can create a completely predictable and smooth movement.

Canvas showing animation path generated by keyframes

However, if you apply the Randomize parameter behavior to the same object, its effect combines with the keyframed motion path you created. As a result, the animation path follows the general direction you want, with random variation in it to make it interesting.

Canvas showing animation path generated by the combination of keyframes and a behavior

Although this example shows how you can combine behaviors and keyframes to create animation paths, you can combine behaviors and keyframes for any parameter.

Download this guide: Apple Books | PDF

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
有幫助?
字元限制: 250
字元數目上限為 250。
感謝您提供意見。
Morty Proxy This is a proxified and sanitized view of the page, visit original site.