Unreal Engine 5 Tutorial: How to Create a Floating Object in Space - Make Object Go Up & Down

preview_player
Показать описание
In this Unreal Engine 5 tutorial, I'll show you how to create a mesmerizing floating object effect in space. Learn how to make objects gracefully ascend and descend. Follow these simple steps to achieve this captivating visual effect.

Hope this tutorial helps. Thank you for watching :)

► TIMESTAMPS:

00:00 - Introduction and Overview
02:25 - Implementing Cube Movement
03:47 - Adding Rotation to the Cube
04:08 - Incorporating Stone Models
04:59 - Conclusion and Thanks for Watching

BEGINNER FRIENDLY UNREAL ENGINE 5 TUTORIALS

► RECOMMENDED UNREAL ENGINE 5 TUTORIAL VIDEOS:

► SUPPORT CHANNEL WITH COFFEE BOOST:

► SHARE THIS VIDEO TO HELP OTHER BEGINNERS:
Рекомендации по теме
Комментарии
Автор

Nice tutorial, thanks! But in UE5 it seems some things are different and also I made changes so we don't need a 2nd timeline. Here's a summary of it:

1) Vector track as seen in the video, name it to your preference. Then - first timeline keypoint at 0 with value 0, then when it's supposed to move set time and value as preferred and after that add another timeline keypoint some time after the 2nd keypoint and give it a value of 0 again. In the bar on top where the button is to add a track there's also a loop icon. Click this to make this loop. Also make sure the track length equals the length of all 3 keypoints.

2) If you did everything the way the video shows, the movement will be locked to the Z axis and the timeline node in the event graph will have the timeline track's name below the pin "Direction". Rightclick it and do split struct pin.

Also split struct pin on "New Location" in the set relative location node. After splitting both, you'll get a value for all 3 axis. Now simply connect the Z axis pin from the timeline node with the z axis location of the set relative location node. Compile, save, simulate or play, enjoy.

DieAxtimWaldeImSpieleWald
Автор

Wow, that was fast and easy! Great explanation, thanks! Will definitely check your other tuts. Not so many that are this easy to follow and actually get something to work in 5 minutes!

geekonyi
Автор

I was happy I found this video! I was looking for a way to spice up my items to make them easier for the player to find and collect. Keep up the awesome tutorials!

dragonnist
Автор

I've only recently starting dabbling in UE5, so I may be doing something wrong, but I had to make a few changes to get this to work properly on my end. Here are the issues I ran into, and my solution:

#1 - Timelines cannot go into a BP function. This will have to exist in the event graph.
#2 - Setting Z Axis on Relative loc using the Timeline was setting the z-axis to 0 for the actor and then incrementing to top height
#3 - Not settting the relative location values for x and y was teleporting my actor to 0, 0, 0 (See above).

To resolve #2 and #3 I add a new prop/variable called InitialLocation to store a vector. I Then grabbed the Get Relative Location from my SM and used it to set the value.
In event tick, I grabbed the InitialLocation value and split the pins into x, y and z. X and y went into the relative location x and y, while I used an addition function to add the Z-Axis movement and the InitLocation Z together then connected with Relative Location.

Unrelated, and I see someone else mentioned this below, you can double the length of the timeline you are using, and go from 0 -> top -> 0, and just click loop in the timeline to loop without having to create a separate timeline. With this I was able to make my actor bob like the demo in the video. Kudos to EZ Unreal for providing a great tutorial.

JesseTrammell
Автор

Isnt Timeline like very havey? maybe not one but have few and it adds up?

Defenceless_baby
Автор

brilliant. Thanks so much. Can anyone here tell how to make a group of connected objects float and rotate as one?

valentina.ferran
Автор

I was able to make it work for a little floating orb, but when I tried experimenting with the length to figure out how to make it float a little faster, it only moves faster on the way up and is still slow on the way down. Could you explain how to control the speed of the movement to match both ways? (When I read the "Timeline speed - Blueprint" thread on the UE forum, they don't explain the steps since they only post and image without an explanation. I'm very new to this.)

spawnoftyphon
Автор

Hi! For some reason when I add the rotation component in my BP the object disappears in game. Why?

davidesavio
Автор

If you want to use a blueprint to make dozens of stones randomly suspended and able to rotate 360 ​​degrees freely, how should you achieve this? Similar to floating objects in space

yantingye
Автор

you can make rotational movement way too easy using the component "RotatingMovement" and put it in the blueprint you want to float and then tweak the variables. Nice tutorial tho!

frankrenzulli
Автор

This locks it to the 0 location, is there a way to have it float in its current location?

SpinxSage
Автор

cool.. I can make moon and planets now

judasthepious
Автор

How do you switch characters in a gameplay by press F key?

screenapple
Автор

It is pausing after moving up and down every time.

jamesstime
Автор

This is a terrible guide. Why would you make two timelines instead of having 1 timeline do both the up and down movement (and then loop it forever by pressing 1 button that says loop)? Meritocracy clearly does not have a place in this society anymore...

Adam-cnib
join shbcf.ru