Rope Physics

4 replies [Last post]
anima
anima's picture
User offline. Last seen 13 years 19 weeks ago. Offline
Joined: 2009-09-22
Posts: 15

I was wondering are there any plans to fix the rope physics? I mean when a mine explodes near a rope and the rope is still intact or some times when the hook is hanging in air because the mine exploded near it.

We don't need a reason to help people ~ Zidane

jessor
jessor's picture
User offline. Last seen 3 years 37 weeks ago. Offline
Joined: 2009-04-13
Posts: 61

same happens when you hook the rope to a crate and then pick it.

the only obvious fix would be to let the rope vanish in these situations which is not wanted right now.

there was a thread about it but i can't find it right now. i think it'll stay this way.

Smaxx
Smaxx's picture
User offline. Last seen 12 years 51 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

That's due to the way the rope works right now. It could be considered as a bug but it's not like it happens every second game or so (-> not THAT important like some other bugs and caveats right now). Hedgewars doesn't use any complex physics engine - it might need some huge rewrites to get this working (haven't taken any look at that part of the code).

anima
anima's picture
User offline. Last seen 13 years 19 weeks ago. Offline
Joined: 2009-09-22
Posts: 15

I don't see it that complex. Just that rope shouldn't hook into either crates or hogs and we have half the problem solved.

As for explosives, just like a hog gets his turn end if an explosion reach him, it should be the same for ropes, instead of ending turn, rope get wasted.

Of course, I also haven't seen how the code is written but I imagine it wouldn't be that complex but I could be wrong of course.

We don't need a reason to help people ~ Zidane

Sektor
User offline. Last seen 23 weeks 4 days ago. Offline
Joined: 2009-03-18
Posts: 10

It would be easy to make the rope disconnect in those situations but I think that would make the game less fun. Realism is overrated.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]