reactphysics3d
reactphysics3d copied to clipboard
Floor made up of tiles doens't have smooth movement over it
Hiya,
My floor is made up of cuboid tiles, but they all have the same height. When I move an object over it, be it a sphere or another cuboid, there is often a hitch or a jump as it navigates between tiles, even though they line up.
What's my best approach to this? Would expanding them a bit so they definitely overlap be a better idea?
I would say that this is expected from the collision detection when moving between different collision shapes. You should try to use a single collision shape that contains all your floor in your case. Either a BoxShape, or maybe a ConvexMeshShape or a ConcaveMeshShape instead.
I guess a ConcaveMeshShape would allow me to have many holes in them?
Yes, if you need a floor with holes, you need to use a ConcaveMeshShape.
I am closing this issue. Do not hesitate to reopen it if needed.