# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/animating-prop-movement-6-combining-movement-rotation-and-scale-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/animating-prop-movement-6-combining-movement-rotation-and-scale-in-verse.md
# Section: Building Animations that Move, Rotate, and Scale
using { /Fortnite.com/Devices }
using { /Fortnite.com/Devices/CreativeAnimation }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/SpatialMath }
RotationRateTip<localizes>:message := "The time it takes to make one AdditionalRotation in seconds."
UseEasePerKeyframeTip<localizes>:message := "Whether this prop should use the MoveEaseType for each keyframe. False will use the Linear ease type on each frame."
# A prop that translates, rotates, and scales to a destination using animation.
animating_prop<public> := class<concrete>(movable_prop):
# The additional rotation to apply to the RootProp per keyframe.
@editable {ToolTip := AdditionalRotationTip}
AdditionalRotation:rotation = rotation{}
# The time it takes to make one AdditionalRotation in seconds.
@editable {ToolTip := RotationRateTip}
var RotationRate:float = 1.0
# Whether this prop should use the MoveEaseType per each frame of animation.
# Setting this to false will use the linear MoveEaseType on each frame.
@editable {ToolTip := UseEasePerKeyframeTip}
UseEasePerKeyframe:logic = true
# The creative prop target for the RootProp to move towards. The rootprop will also copy
# the scale of each MoveTarget.
@editable {ToolTip := MoveTargetsTip}
var MoveTargets:[]creative_prop = array{}
# The transform the prop is currently targeting.
var TargetTransform:transform = transform{}
Verse Library
verse
07 Building Animations That Move Rotate And Scale
Implements a concrete device class that translates, rotates, and scales creative props toward targets.
extracted-snippets/documentation/en-us/fortnite/animating-prop-movement-6-combining-movement-rotation-and-scale-in-verse/07-building-animations-that-move-rotate-and-scale.verse