Skip to content

Editing Keyframes

Keyframes are essential for creating animations in Foxel, as they define the state of an object at specific points in time. This section will guide you through the process of setting, selecting, deleting, moving, and copying/pasting keyframes. By mastering these keyframe editing techniques, you can create more complex and refined animations in your scenes.

Keying

To set a keyframe for an animated property, follow these steps:

  1. Select the Object: Click on the voxel object you want to animate.
  2. Open the Timeline: Access the Timeline where your channels are displayed.
  3. Set Current Time: Move the playhead to the desired frame where you want to set the keyframe.
  4. Modify Property: Change the property you wish to animate using the Inspector or the appropriate tool.
  5. Key the Property: Choose one of the following options to set the keyframe:
    • Go to Animation > Key All Animated Properties to key all properties that can be animated.
    • Select Animation > Key Changed Properties to key only the properties that have been modified.
    • Right-click the property in the Inspector and select Key Selected from the context menu. This option sets a key only for the channel of the clicked property.
  6. Repeat: Move to another frame, change the property again, and set another keyframe. Foxel will interpolate the values between keyframes to create smooth animation.

Selecting Frames

To select frames in the Timeline, use the following methods:

  • Single Frame: Click on the frame of the channel to select a single frame.
  • Range of Frames: Click and drag across the frames to select a range of frames.
  • Toggle Selection: Hold down the Ctrl or Shift key while clicking to toggle the selection state of individual frames.

Deleting Keyframes

To delete keyframes, follow these steps:

  1. Select the keyframes you want to delete.
  2. Right-click on the selected frames and choose Delete Keyframes from the context menu.

Alternatively, you can right-click the channel in the Timeline and select Clear Channel to remove all keyframes from that channel.

Moving Frames

To move keyframes within the Timeline:

  1. Select the keyframes you wish to move.
  2. Click and drag the selected frames to the desired position in the Timeline.

Copying and Pasting Keyframes

To copy and paste keyframes:

  1. Copy Keyframes: Select the keyframes you want to copy, right-click, and choose Copy Keyframes from the context menu.
  2. Paste Keyframes: Select the target channel and frame where you want to paste the keyframes, right-click, and choose Paste Keyframes from the context menu.

Changing Easing Functions

If the channel interpolation mode is set to Tween, you can change the easing function for each keyframe. To do this:

  1. Select the keyframes you want to modify.
  2. Right-click on the selected keyframes to open the context menu.
  3. In the context menu, select the submenu called Set Easing Function, which contains all available easing functions.
  4. Choose from the available easing functions. There are 41 different ease functions to choose from.

For a comprehensive overview of what each easing function does, you can refer to easings.net.