Verse Library verse

05 Making Props That Translate

Declares configurable targets and tracking variables for movable prop classes.

extracted-snippets/documentation/en-us/fortnite/animating-prop-movement-3-translating-props-in-verse/05-making-props-that-translate.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/animating-prop-movement-3-translating-props-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/animating-prop-movement-3-translating-props-in-verse.md
# Section:    Making Props That Translate
# A prop that moves (translates) toward either a Creative prop target
# or a position in world space.
translating_prop<public> := class<concrete>(movable_prop):
# The Creative prop targets for the RootProp to move toward.
@editable {ToolTip := MoveTargetsTip}
var MoveTargets:[]creative_prop = array{}
# The optional position for the RootProp to move toward. Use this if you
# do not want to set a MoveTarget.
@editable {ToolTip := MovePositionTip}
var MovePosition:?vector3 = false
# The position the prop is currently targeting.
var TargetPosition:vector3 = vector3{}

Comments

    Sign in to vote, comment, or suggest an edit. Sign in