Follow-up Comment #3, bug #15034 (project wormux):
To me it looks like the main problem is that FootsInVacuum() doesn't detect
in advance that the box will collide.
With the new bullet branch we will not have such a problem.
If we don't switch to bullet I have the following suggestion of how we could
try to fix the bug:
We introduce a new flag with the meaning "colliding with ground". That flag
gets set to true at the first collision with the ground and gets set to false
at the next physics frame without a ground collision. This flag would replace
FootsInVacuum in it's function.
Of course this is a huge change and we might don't need to fix it anyway when
we switch to bullet. That's why I suggest to let this bug open until we know
for sure if we switch to bullet or not.
As the bug is really annoying when it occur I will commit a patch which will
remove the wind factor from boxes. This way they will always collide from top
with the ground and not from the side. At least for the initial drop. This
doesn't fix the bug completely as the box can get still accelerated by
explosions. Additionally this bug might affect other objects and characters
as well.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15034>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna