Animating Prop Movement: Translating Props
Some of the easiest obstacles simply move back and forth. You’ll often encounter these in platforming challenges, where you need to time your jumps and make careful moves to avoid falling.
Moving a platform in this way is called translation, or changing the position of an object’s transform. In this section, you’ll learn how to make platforms that not only move back and forth but can move to multiple points in the world, then use these to create your first obstacle!
Making Props That Translate
Follow the steps below to build the code that translates your platforms:
-
Create a new Verse class named
translating_propthat inherits frommovable_propusing Verse Explorer. Add the<concrete>specifier to this class to expose its properties to UEFN.| | | | --- | --- | | | # A prop that moves (translates) toward either a Creative prop target | | | # or a position in world space. | | | translating_prop<public> := class<concrete>(movable_prop): |A prop that moves (translates) toward either a Creative prop target
or a position in world space.
translating_prop<public> := class<concrete>(movable_prop):
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.