CharacterController jump catching on nearby boxes
Posted: Wed Aug 16, 2017 11:56 pm
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 SphereCharacterController has the same issue). The game world consists of many boxes stacked on eachother, not unlike Minecraft, where each box is 1x1x1, and the character is a bit smaller than that (h=0.6, r=0.4). The problem I'm having is that when the controller stands right next to a perfect stack of boxes and jumps, it seems to hit the bottom edge of the second box in the stack and then is bounced away from the stack. I'd like to get to the state where the controller can jump in this position and just go straight up.
For reference I'm using the 1.5.0 binaries.
I'm creating a 3D platforming game using the SphereCharacterController (modified into a CylinderCharacterController actually, but regular SphereCharacterController has the same issue). The game world consists of many boxes stacked on eachother, not unlike Minecraft, where each box is 1x1x1, and the character is a bit smaller than that (h=0.6, r=0.4). The problem I'm having is that when the controller stands right next to a perfect stack of boxes and jumps, it seems to hit the bottom edge of the second box in the stack and then is bounced away from the stack. I'd like to get to the state where the controller can jump in this position and just go straight up.
For reference I'm using the 1.5.0 binaries.