Hi all,
I have a very simple use case with a joint, but got stuck in figuring it out…
So I have two bodies - some monster and a life bar above it. So when the monster moves, the life bar goes with it.
The two bodies used to be joined with a weld joint and that worked just fine.
But now I changed the monster to use native rotation with obj.rotation (instead of sprite) - and now when the monster is rotated, the life bar gets rotated with it.
So the weld joint needs to be changed with another one, I tried all of them, but couldn’t make it to behave properly - the life bar should follow the movement - up, down, left, right - always keeping a fixed distance, but it should not rotate. While the monster should be able to rotate freely.
Any suggestions would be greatly appreciated
[import]uid: 145398 topic_id: 28410 reply_id: 328410[/import]