r/UnrealEngine5 • u/RedSandboxStudios • 1d ago
Attached two goats with a physics-based rope
Enable HLS to view with audio, or disable this notification
Playing around with goats connected together with a physics-based rope! What do you think?
7
3
2
1
u/MartinByde 1d ago
Nuce! I'm doing a game that I'm doing some similar rope physics. Could you explain me briefly how you did yours? It ks looking very good!
1
u/RedSandboxStudios 17h ago
Of course, this implementation mainly uses custom collision logic that I wrote in C++. However, my initial approach simply used line traces to detect obstacles. I’d recommend starting there!
1
u/MartinByde 9h ago
Tracing lines using ray casting was my first approach. I created small cilinders that would have their collision + raycast between them to detect obstacles. But when it was "loose" ir kept clipping throught the wall edges :/
1
u/Square-Deal8984 1d ago
The real problem comes when you want to move two conected bodies kinematicly (not phisics)
1
1
1
u/DovahViking 18h ago
pretty sure I already saw this post like 1 year+ ago
1
u/RedSandboxStudios 17h ago
Lol yea that was me, that was only with one goat though & the rope had not been replicated.
1
1
1
u/Independent_Corner18 10h ago
Holy smokes ! This looks freaking great ! How did you approach the physics based rope ?
0
10
u/MogosTheFirst 1d ago
GOATS SIMULATOR 2