Skip to content

AnimationEditor

Build an animation from key points motion: ctrl+a: add keyframe ctrl+d: delete keyframe ctrl+c: copy keyframe ctrl+v: paste keyframe ctrl+x: cut keyframe ctrl+w: write animation ctrl+m: play/pause animation ctrl+(left/right)arrow: move the cursor along the timeline ctrl+(pgDn/pgUp): move the cursor to the next/previous keyframe

Templates:

  • Rigid3d
  • Vec3d

Target: SoftRobots

namespace: softrobots::controller

parents:

  • Controller

Data

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the objet belongs to
bbox this object bounding box
componentState The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). Undefined
listening if true, handle the events, otherwise ignore the events 0
handleEventTriggersUpdate Event handling frequency controls the controller update frequency 0
maxKeyFrame Max >= 1, default 150 150
filename If no filename given, set default to animation.txt animation.txt
loop If true, will loop on the animation (only in play mode). 0
load If true, will load the animation at init. 1
dx Variation of displacement. You can control the animation on displacement instead of time. If dx is set, at each time step, the animation will progress in term of displacement/distance. A positive dx means move forward and a negative dx means backward (on the timeline). 0
frameTime Frame time. 0.01
cursor Current frame of the cursor along the timeline 0
Visualization
drawTimeline 1
drawSize 0.1
drawTrajectory 0
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject