GImpactMeshShape local scaling & aabb

User avatar
majestik666
Posts: 66
Joined: Tue Mar 02, 2010 6:13 am

GImpactMeshShape local scaling & aabb

Post by majestik666 »

I run into something I didn't quite expect today,
loading a GImpactMeshShape into the solver, applying a local scaling to the collisionShape,
but the AABB doesn't seem to be affected by it ...

I ran another test where I was doing the following :
setLocalScaling(...)
postupdate
updatebound
getAabb
print aabb
setLocalScaling(...)
postupdate
updatebound
getAabb
print aabb

with two different scales, and I get the exact same aabb ....

is it the wanted behaviour or am i missing something ?

Thanks !!!
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: GImpactMeshShape local scaling & aabb

Post by Erwin Coumans »

GImpactMeshShape is not well tested.

Can you reproduce this in the Bullet/Demos/GimpactTestDemo?
Thanks,
Erwin