Search found 6 matches

by Vanit
Sun Mar 31, 2019 8:20 am
Forum: Questions and Help
Topic: Character sinks through the ground when landing (Solved)
Replies: 1
Views: 6998

Character sinks through the ground when landing (Solved)

So I'm posting my own question and its answer simultaneously here as I finally fixed a bug after a year of revisiting it and repeatedly failing, and hope this might help someone in the future. Bit of background; I'm creating a 2d isometric platforming game with 3D physics. I use a topological sort o...
by Vanit
Thu Aug 17, 2017 11:41 pm
Forum: Questions and Help
Topic: CharacterController jump catching on nearby boxes
Replies: 7
Views: 5975

Re: CharacterController jump catching on nearby boxes

Glad to hear this might be fixed in the elusive v2 :) Thanks for the mesh explanation, luckily it seems like the vertical consolidation is all I need as I can't see any issues with adjacent vertical edges. Setting CollisionResponseSettings.PenetrationRecoveryStiffness to 0 does indeed fix the issue,...
by Vanit
Thu Aug 17, 2017 4:07 am
Forum: Questions and Help
Topic: CharacterController jump catching on nearby boxes
Replies: 7
Views: 5975

Re: CharacterController jump catching on nearby boxes

Well this is interesting. I went ahead and implemented box consolidation such that vertical stacks of adjacent boxes are now a single box, but it didn't completely reduce the bump effect. Instead now AllowedPenetration = default is the same as AllowedPenetration = 0.001 was before consolidation, so ...
by Vanit
Thu Aug 17, 2017 2:49 am
Forum: Questions and Help
Topic: CharacterController jump catching on nearby boxes
Replies: 7
Views: 5975

Re: CharacterController jump catching on nearby boxes

Thanks for the thorough reply Norbo, much appreciated! Firstly I can confirm the bump happens when the character walks up to the stack and waits before jumping, so hopefully that opens up some other solutions. Your comment about continuous surfaces has given me the idea that I might be able to solve...
by Vanit
Thu Aug 17, 2017 12:17 am
Forum: Questions and Help
Topic: CharacterController jump catching on nearby boxes
Replies: 7
Views: 5975

Re: CharacterController jump catching on nearby boxes

Was reading through some other posts and found mention of CollisionDetectionSettings.AllowedPenetration. I tried setting it to 0.001f, which seems to have helped a lot, but the controller is still being nudged away slightly and lowering AllowedPenetration further doesn't seem to affect that.
by Vanit
Wed Aug 16, 2017 11:56 pm
Forum: Questions and Help
Topic: CharacterController jump catching on nearby boxes
Replies: 7
Views: 5975

CharacterController jump catching on nearby boxes

I love bepuphysics and thus far have scraped by mining the forums for answers to most of my questions, but I think I finally need to ask a question of my own. :) I'm creating a 3D platforming game using the SphereCharacterController (modified into a CylinderCharacterController actually, but regular ...