logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

"Geometry Script FTW": How to Create Twisted Game Levels in UE5

Developer Nikopopol explained how to use Unreal to make surreal environments.

"Geometry script FTW!" exclaimed Developer and Unreal Engine enthusiast Nikopopol when they successfully utilized the toolset to transform a regular 3D corridor level into a mesmerizing spiral, showcased in the short demo embedded above.

For those unfamiliar, Geometry Script is Unreal Engine 5's built-in plug-in containing a set of Function Libraries that provide the ability to generate and edit mesh geometry via Blueprints and Python, enabling dynamic mesh editing, slicing, applying Boolean operations to your meshes, and more. Leveraging the add-on's Apply Bend/Twist nodes, along with the Directional & Planet Gravity plug-in, Nikopopol managed to set up an explorable, surreal-looking scene that looks like a perfect fit for one of those Backrooms-inspired games.

The best part is, besides showcasing the final result, the developer also shared a small tutorial detailing the working process behind the setup. According to Nikopopol, the process is as follows:

  • "Create a DynamicMeshActor blueprint (Geometry Script plug-in required);
  • Construct > Copy Mesh from Static Mesh (or you can create a mesh from scratch, you will need quite some vertices for smooth bend/twist);
  • Apply Twist Warp to Mesh. This one is tricky as you need to multiply alpha from timeline (with a sin curve here) to 1 or so deg added through transform API, and aim at the duration needed (6 seconds for a 180-degree spin in my case);
  • For the gravity part, it's a bit more complex to share but look at the free Directional & Planet Gravity plugin + GetDistanceAlongSplineAtLocation to change the gravity vector with a spline at runtime."

Find the original Reddit post here and don't forget to join our 80 Level Talent platform and our Telegram channel, follow us on InstagramTwitterLinkedInTikTok, and Reddit, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more