r/unrealengine • u/nesmoth_design • 3d ago
UE5 Tutorial for Floating Pawn Movement Component
Hi folks. I´m just starting learning UE for a personal project, can you please recommend a book or tutorial to learn about the floating pawn component, or what other method can recommend to use for navigation? My project is strictly 2D Top down with WSAD navigation.
Thanks in advance.
2
Upvotes
1
u/AlexBarenberg 3d ago
For a strict 2D top-down WASD project, FloatingPawnMovement is actually a clean, lightweight starting point—just lock movement to the plane (Constrain to Plane / Z-axis constraint) and pair it with Enhanced Input (AddMovementInput on X/Y). If you later need built-in collision sliding, ramps, or easy networking, CharacterMovementComponent (or Paper2D / PaperZD if you're using sprites) saves a lot of manual math, though FloatingPawnMovement is much simpler to learn first because it doesn't come with all the 3D walking/gravity baggage.
1
u/SgtFlexxx 3d ago
If your character is walking top-down with feet planted on Terrain, I would use Character, which use CharacterMovement component. It comes with a bunch of built in features like Acceleration, braking, gravity, etc.
I would recommend looking at the Top-down template and diving into the character code, or find a series that reviews the template on Youtube.
•
u/CloudShannen 10h ago
Hmmm most of my bookmarks to blog entries on Floating Pawn / Pawn Movement appear to be dead now but
https://ljung.dev/tutorial/character-movement-from-scratch-pt-1-introduction-and-setup and https://unrealcpp.com/colliding-pawn/ still exists and might be helpful.
https://gist.github.com/mikalv/8b4915c389341f322a0d13a44fc5112d