Bug: Scaled btCapsuleShapeZ scales RigidBody's restitution

xris
Posts: 13
Joined: Wed Jun 22, 2011 3:07 pm

Bug: Scaled btCapsuleShapeZ scales RigidBody's restitution

Post by xris »

Hello,

I'm using Bullet 2.78.

I've created a dynamic (has mass) RigidBody with a btCapsuleShapeZ as its collision shape and I've set the restitution to zero.

I noticed that when scaling a btCapsuleShapeZ, the RigidBody becomes bouncy. The level of bounciness is proportional to the scale set on the capsule shape.

I've tried the same test with box, sphere and convex point cloud shapes and they seem to work just fine.

So far only capsules seem to experience this behavior.

Has anybody else noticed anything similar?

thanks in advance for any help,
cg