use local scaling on convex hull makes simulation explode

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

use local scaling on convex hull makes simulation explode

Post by pico »

Hi Erwin,

for the last Bullet version it was needed to set the local scaling on convexHulls BEFORE adding points.
This doesn't work anymore. In fact whenever using a a local scale different to 1.0,1.0,1.0 the simulation will explode. It doesn't matter if the scale is set before or after adding points. Such object will sink into static geometry and bounce around without any force applied to them.

Maybe this bug was introduced with trunk update 1370 "Copy the cached local AABB for ConvexHullShape instead of recomputing it." from October 8?
Our last update was on October 22.

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

Re: use local scaling on convex hull makes simulation explode

Post by Erwin Coumans »

There was some recent work going on to try to re-use GJK/EPA implementation between regular and Cell SPU optimized version. While making things non-virtual it broke the scaling.

It has been fixed now.

Thanks for the report!
Erwin