Devlog #027: Cable physics
Following the advice of 2 reddit users, I've tested out using a cable built out of seperate smaller joints, instead of 1 single joint.
It was actually more stable than I thought, but the weight of the cable had too much effect on the physics in my opinion.
That's why I have decided to use the best of both ways. Technically the cable is now working as a single joint, but this joint is working invisibly. On top of this I have simulated multiple connected joints that visualize the cable hanging, while not actually affecting the physics.
Here's the result of my work! I'm really happy with the cable movements.
You can see the single physical joint as yellow line when the debug mode is on.
I won't post for a while after this. My daughter will be born soon, so I'm taking a break for a couple of weeks.
Get Rocket Shipment
Rocket Shipment
A tricky physics based rocketship delivery game with an integrated level editor
Status | In development |
Author | ChocolatePinecone |
Genre | Puzzle |
Tags | 2D, Flight, Level Editor, Minimalist, Physics, Pixel Art, Puzzle-Platformer, Retro, Singleplayer, Space |
Languages | German, English, Spanish; Castilian, Spanish; Latin America, French, Italian, Japanese, Korean, Dutch, Polish, Russian, Turkish, Chinese (Simplified), Chinese (Traditional) |
Accessibility | Configurable controls, Interactive tutorial |
More posts
- CHANGELOG v0.12.1Sep 07, 2023
- CHANGELOG v0.11.1Oct 10, 2022
- CHANGELOG v0.11.0Apr 06, 2022
- CHANGELOG v0.10.0Jan 12, 2022
- CHANGELOG v0.9.1Nov 22, 2021
- CHANGELOG v0.9.0Aug 26, 2021
- Update v0.8.0: Introducing powerupsJun 22, 2021
- Update v0.7.0: Lowering difficultyMar 23, 2021
- Update v0.6.0: Improving player experienceFeb 26, 2021
- Update v0.5.0 featuring new conveyor tilesFeb 05, 2021
Comments
Log in with itch.io to leave a comment.
I think it is very clever to separate the visual from the physics.
It looks the way a player expects it to look and works the way a player expects it to work.
Thanks Eric!
That's exactly what I was going for. It's the best of both worlds :)