I currently have a system where I can make my character behave like a rigidbody2D, although when I use it to go down slopes he can often make this weird bumpy movement. I’ve already tried adding the rapier physics plugin but it didn’t help to fix my issue. Does anyone know how to fix this?
maybe the problem is just it’s not a real rigidbody, remember the collision check for characterbody2d is every physics frame by move_and_slide or the collide. so there’s always a time where it just slide in into something in between the physics frame calls
The way my character works is that it throws out a rigidbody2d ball with the same collision size as the player itself, that moves independantly of the player, and then it follows that. So I don’t think it can have anything to do with that.
Also, when I try it with just a rigidbody, it still gives the same behavior, shown in this video (the object rolling down the slope in this is only a rigidbody)
Doesn’t help, I’ve also tried putting it on a long line and that does seem to help, but it wouldn’t be very useful for my game since I intend to have halfpipe-like ramps in my game, and I would prefer to be able to use tilesets as well
try instead of of triangle with sharp end, make it rectangles? so the engine doesn’t think there’s a gap because precision and caused it slide in-between and caused it to get jumped from it on the next frame