#Spring physics widget in C++!

1 messages · Page 1 of 1 (latest)

hollow orbit
#

Project GitHub Repo:
https://github.com/TOLINSKI/UE5_SpringPhysicsWidgetTutorial.git

Windows Executable:
https://tolinski.itch.io/ue5-spring-physics-widget-simulation

Join my discord:
https://discord.gg/5rCAKVph

0:00 Intro
2:26 What's a spring physics widget?
6:03 The widget designer blueprint
7:30 Adding UMG module
8:19 Binding UWidget objec...

▶ Play video
astral turtle
#

Wow found a new feature

hollow orbit
astral turtle
# hollow orbit Thank you!

i tried it in 5.4 the code works great but the player controller and the pawn are not avialble for 5.4. would be greate if you share what you did inside the player controller and the pawn.
i made it work by my own up some step but the un mouse up is not working

hollow orbit
# astral turtle i tried it in 5.4 the code works great but the player controller and the pawn ar...

No problem!
Theres also a button here to directcly copy the BP(but maybe it won't work because of the engine version differences).

The hacky part with the delay is beacuse BeginPlay is called before the viewport is loaded, hence the scaling won't work. So the other option I know of, is to make a timer that will keep checking if the viewport has been setup and only then take the viewport scale.

Otherwise, all I did is add the widget to the viewport and set the input mode to UI only.

https://blueprintue.com/blueprint/haps5ao_/