VerseIsland
Feed Learn Leaderboard Guides Reference Explore Search Docs Verse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
UEFN › Building & Props · Up to UEFN · Building & Props · 35 of 71 in Building & Props
Browse UEFN

Rotating Props

4. Rotating Props

Another platforming obstacle common to the genre is objects that rotate, such as a spinning platform you have to constantly move on, or a bar that moves back and forth that you have to jump over.

Another platforming obstacle common to the genre is objects that rotate, such as a spinning platform you have to constantly move on, or a bar that moves back and forth that you have to jump over.

The second component of an object’s transform is its rotation, and you can manipulate an object to rotate around an axis. There are several different ways you can use rotation to make unique platforming challenges, and you’ll learn how to code them in this section.

Making Props that Rotate

Follow these steps to build code that rotates your props:

  1. Create a new Verse class named rotating_prop that inherits from movable_prop using Verse Explorer. Add the <concrete> specifier to this class to expose its properties to UEFN.

    
    
    |  | # A prop that rotates by an additional rotation or rotates to match |
    | --- | --- |
    |  | # a Creative prop's rotation. |
    |  | rotating_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 Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Dec 5, 2024
    Keep exploring
    More in Building & Props · 35 of 71
    Prev
    animating prop movement 3 translating props in verse
    Next
    animating prop movement 5 scaling props in verse
    Browse all files in this folder (A–Z)
    Next up
    • Learn how to manipulate object scales with Verse so they grow and shrink.
    Related topics
    • Animating Prop Movement In Verse Building & Props
    • Animating Prop Movement 2 Moving Props With Animations In Verse Building & Props
    • Animating Prop Movement 3 Translating Props In Verse Building & Props
    • Animating Prop Movement 6 Combining Movement Rotation And Scale In Verse Building & Props
    • Animating Prop Movement 1 Making Movable Props With Verse In Verse Building & Props

    Related

    Open in graph →

    Related topics

    • Animating Prop Movement In Verse
    • Animating Prop Movement 2 Moving Props With Animations In Verse
    • Animating Prop Movement 3 Translating Props In Verse
    • Animating Prop Movement 6 Combining Movement Rotation And Scale In Verse
    • Animating Prop Movement 1 Making Movable Props With Verse In Verse
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

    🦜

    Scout · your island guide

    The Isle of Verse