# How do I get O’Neill Cylinder or Ring World gravity using the new UE 5.4 Custom Gravity feature?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-o-neill-cylinder-or-ring-world-gravity-using-the-new-ue-5-4-custom-gravity-feature/2029669>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [September 20, 2024, 1:15pm UTC](https://forums.unrealengine.com/t/how-do-i-get-o-neill-cylinder-or-ring-world-gravity-using-the-new-ue-5-4-custom-gravity-feature/2029669 "2024-09-20T13:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeraltofRizia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GeraltofRizia](https://forums.unrealengine.com/u/GeraltofRizia)\
**Post date:** [September 20, 2024, 1:15pm UTC](https://forums.unrealengine.com/t/how-do-i-get-o-neill-cylinder-or-ring-world-gravity-using-the-new-ue-5-4-custom-gravity-feature/2029669/1 "2024-09-20T13:15:16Z")

</div>

Hello, I have followed the tutorials to get this working for a planet(sphere) however since a collision component is required I have only been able to get this to work with a sphere and not on the interior of a cylinder or ring shape. I have tried capsule collision and several box collisions surrounding the cylinder as well as tweaking physics settings with no luck. I have exhausted all related forum posts and YouTube videos searching for a solution so if anyone has an idea of how to implement this it would be greatly appreciated.

> [@Tutorial: Custom Gravity in UE 5.4](https://forums.unrealengine.com/t/tutorial-custom-gravity-in-ue-5-4/1765303):
>
> Unreal 5.4 introduced support for custom gravity in the CharacterMovementController. See how to take advantage of it and do cool things like gravity puzzles or create a mini-planet like gravity game. [https://dev.epicgames.com/community/learning/tutorials/w6l7/unreal-engine-custom-gravity-in-ue-5-4](https://dev.epicgames.com/community/learning/tutorials/w6l7/unreal-engine-custom-gravity-in-ue-5-4)

Also, the ninja character plugin is no longer going to be supported and the directional planet gravity plugin hasn’t been properly updated since 5.1. So, I am looking for a work around using this new functionality for my game. Thank you!

---

<div class="post-metadata">

**Author:** ![DigitalWorlds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalWorlds](https://forums.unrealengine.com/u/DigitalWorlds)\
**Post date:** [July 14, 2026, 11:46pm UTC](https://forums.unrealengine.com/t/how-do-i-get-o-neill-cylinder-or-ring-world-gravity-using-the-new-ue-5-4-custom-gravity-feature/2029669/2 "2026-07-14T23:46:40Z")

</div>

For anyone who is looking into this, checkout this plugin which features a playable ring world.

[Unreal Engine 5 Ring World — Walkable O’Neill Habitat | PlanetGen V1.5](https://youtu.be/w7h0N5nNXfs)

[![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/0/df071f2cc8b71bf0ec923a1b54eb66f758544e40.png)](https://youtu.be/w7h0N5nNXfs)

✔ Ring worlds (CLMRingWorld) — cylindrical O’Neill habitats on the same terrain, noise, biome, grass and foliage pipeline as the planets. Walk the inner surface or the outer. Deterministic and seam-free.

✔ Windowed ring streaming — chunks stream around the player and wrap the circumference, so very large rings only cost what is near you.

✔ Centrifugal ring gravity — gravity points outward on the inner surface, inward on the outer. The same client-predicted character walks it, solo or multiplayer.

✔ Structural shell — a procedural hull plus solid, collidable end walls, so the ring reads as solid from outside and its open ends are capped.

✔ Stacked cloud and atmosphere layers — concentric translucent shells for a cloud deck and haze. Fly up through a cloud wall. Ring-masked fog keeps the effect inside the ring.
