-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rope that pulls on staticbody2ds #10
Comments
First thing you should do is change the StaticBodies to CharacterBodies (or KinematicBodies in 3.x). This has nothing to do with this plugin but is a general rule of thumb. StaticBodies are used for static geometry. If they move, they usually shouldn't be static. Now to the problem: I will try to get back to in the next few days, maybe end of the week, depending on whether I find some time. Also, #9 is slightly related regarding how If you just want to limit movement, you could also just add a restriction to your player movement code that doesn't allow the player to move further than a certain maximum distance from the other player. |
Thanks for the info, I probably won't be able to get back to you soon, as I have become ill. Thanks againa though. |
Small status update: I'm currently working on making rope endpoint behavior more configurable. That means an option whether the beginning and/or ending should be fixed or loose. |
@mphe , Sorry for not replying, I've been completely caught up in school tests. I think I'll take the advice on using CharacterBodies and wait for the update. Thanks for the work you do! |
So did you already solve it or did you gave up? |
@mphe Im just going to wait for the update you mentioned, the game I’m making is just to learn more about the engine, so I’m doing other projects in the meantime. |
I'll reopen then until it is solved. I've been working on an efficient way to completely fixate points and also an option to detach the rope's beginning from the node's position. I'll also try to get a rope pulling example working this week and add it to the project.
|
I added another node Let me know if you have any questions or if you find any issues. |
@mphe I’m on holiday rn, and I forgot to sync tthe latest version of my project to git before I left, so I can’t test now. |
Closed by #12. |
Hello,
I've been working on a game where there are two players that are connected by a rope. The players are made up of StaticBodies and can move independantly of each other. What I need help with is making the rope pull on each player, or at least limit the movement, instead of just creating a gap (video attached as zip, as it is too big).
RopeBound (DEBUG) 2024-06-25 12-09-41.zip
The text was updated successfully, but these errors were encountered: