-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
wall run/clip bug #221
Comments
this is caused by placing material in an odd way inside of the geometry, also mentioned here if you use the proper sized cube (or remove all the unused materials from inside of the geometry on that bloodlust wall) it doesn't occur. |
Yep, I experienced the same thing in my Center re-vamp. Some really weird shit is going on. https://drive.google.com/file/d/0B8LVgU2QCQy0aW96VjRvQnJZX28/view?usp=sharing I copied over the geom from alpha to omega, or vice versa, can't remember, so both are EXACTLY the same geometry and material. And it happens on one side but not the other. Same thing for the side windows. |
This isn't just on bloodlust, it happens on lots of maps, this was just the easiest to reproduce. Also, I believe the engine optimises materials into geometry if it makes no overall change (and this is easily testable), which makes this unfixible by modifying the map. |
i just fixed your exact example by modifying the map. |
@shirepirate I just checked my version of the map, there's no clip material inside the geometry. Could you explain your 'fix'? |
@shirepirate done some testing, I managed to 'fix it' by adding clip material to that piece of geometry, but when I then recomputed the light map it is was removed bringing the issue back again. Given that this issue is present on multiple maps and isn't easy or intuitive to fix, can you please reopen this issue so it can be fixed properly? |
This is also effecting some other maps maps which I just tested:
There are possibly others, I only done a quick check. |
will have the engine guy confirm if this is an actual fixable issue or not |
I think this more has to do with how we're doing the angle tests. Will require some major testing on my behalf, so triaging for now. |
I had an idea which I've done in 3027c02 to see if this improves things. |
3027c02 did not improve things |
Can someone create a map with the sole purpose of demonstrating this bug so I have a test case? |
This has to do with remipping it seems. This is the original variant of the test map, it has no clipping material inside geometry or anything odd, bug doesn't occur. This is what you get after /remip on the previous map. Bug occurs only on one side of the wall. I should add that this bug affects not only wall running, but also climbing, and simple jumping close enough to the wall. When it affects climbing it's especially annoying since it often results in you falling in a pit even though you had more than enough impulse to climb back. |
I'm wondering if we should just disable clip material in the parkour simulation physics. Is there any known use case where you need clip material to parkour/etc? |
Yes, maybe a small uneven ground, which you want to clip. |
After some testing I believe there are at least two issues with collision detection at the moment. The first appears to be a rounding problem. Here the margin is added to avoid it on one side, but not on the other, hence on a test map that I created the bug appears only on one side. If that line is removed the bug appears on the other side of the wall too. If instead a similar line The second is more complicated. Since collision detection treats solid geometry and clip material in a different ways (here in particular), all faces of a clipped cube are checked for collision and if a player happens to be on an edge of a clipped cube, sometimes the engine decides that a face that is inside of the clipped area (e.g. left of right face) is more appropriate (closer to the player) than the face that is desired (front face, the one player is trying to use for parkour). So the engine sets I also suggest this bug was given a higher priority since it actually breaks the game. |
Reports are this has improved in the development version, so I'm closing this issue. Let us know if it reappears. |
Perhaps not related, but I had a very similar issue appear play testing on 2.0 tonight. afaik clip wasn't involved but I tried to wall kick off the edge of an arch on Castle and it done just as would in 1.5/6. Was half on the edge though, so not so bad in this instance. |
Seems there's some issues when transitioning from clip material to geometry where you get stuck kicking off an invisible wall.
http://dl.dropbox.com/u/14141289/RE/parkourbug.mp4
The text was updated successfully, but these errors were encountered: