Problem with Kinematic Character Controller on some slopes
Posted: Mon Apr 21, 2014 10:45 pm
Something odd is happening to my character controller. I have 2 slopes, one of them is a collision shape a made from a trimesh (just a imported cube scaled in this case, it was only test) and the other one is a boxShape from bullet, rotated 30 degrees.
The thing is when the character is on the trimesh one it works fine, but when the char is on the rotated boxShape my character slides dows the slope.. The angle is just fine not a problem of the MaxSlope. Also im using a boxShape for my character convexShape instead of the capsule for design reasons, and because the capsule didnt work anyway, but the thing is when I try with a capsule it doesnt slide (I cant change to capsule instead because as I said is not working correctly)
here is the video of what happens. The red slope is the trimesh and the black one the rotated boxShape
https://www.youtube.com/watch?v=h0UxXIb ... e=youtu.be
I ve tried this solution: http://www.bulletphysics.org/Bullet/php ... f=9&t=6773
And also changing the allowedCcdPenetration to 0.00001f, neither of them worked.
Any ideas or solutions?
Thanks guys
The thing is when the character is on the trimesh one it works fine, but when the char is on the rotated boxShape my character slides dows the slope.. The angle is just fine not a problem of the MaxSlope. Also im using a boxShape for my character convexShape instead of the capsule for design reasons, and because the capsule didnt work anyway, but the thing is when I try with a capsule it doesnt slide (I cant change to capsule instead because as I said is not working correctly)
here is the video of what happens. The red slope is the trimesh and the black one the rotated boxShape
https://www.youtube.com/watch?v=h0UxXIb ... e=youtu.be
I ve tried this solution: http://www.bulletphysics.org/Bullet/php ... f=9&t=6773
And also changing the allowedCcdPenetration to 0.00001f, neither of them worked.
Any ideas or solutions?
Thanks guys