setLocalScaling and btCylinderShapeZ

kaolite
Posts: 13
Joined: Sat Dec 13, 2008 5:05 pm

setLocalScaling and btCylinderShapeZ

Post by kaolite »

Hi,

I need to have a 2D ellipsoid shape. It seems that using setLocalscaling (I need non uniform scale, but I have also test with uniform scale and it's the same) is not working with btCylinderShapeZ ?
I use the following code :
m_shape=new btCylinderShapeZ(btVector3(blob->Sx,blob->Sx,100));
m_shape->setLocalScaling(btVector3(1.0,blob->Sy/blob->Sx,1.0));

Best regards,
pico
Posts: 229
Joined: Sun Sep 30, 2007 7:58 am

Re: setLocalScaling and btCylinderShapeZ

Post by pico »

Hi,

please create a reproduction case and add it here

http://code.google.com/p/bullet/issues/detail?id=178