Hi,
is setLocalScaling() supposed to work when btBoxShape()::initializePolyhedralFeatures() has been called ?
The debug drawer doesn't seem to scale the box shape being rendered; it seems to be a debug drawer bug (going to investigate right now), however, the makes me feel that nobody has used this feature before, hence I am not sure whether this combination is valid or not ?
Thanks.
Greg
btBoxShape: setLocalScaling()+initializePolyhedralFeatures()
-
- Posts: 178
- Joined: Fri Apr 18, 2008 2:20 pm
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: btBoxShape: setLocalScaling()+initializePolyhedralFeatur
setLocalScaling is not supported after calling initializePolyhedralFeatures. The polyhedral mesh generated by 'initializePolyhedralFeatures' is not updates anymore afterwards, so changing the collision shape afterwards is not a good idea.
(you should be able to check this in the source code)
Thanks,
Erwin
(you should be able to check this in the source code)
Thanks,
Erwin
-
- Posts: 178
- Joined: Fri Apr 18, 2008 2:20 pm
Re: btBoxShape: setLocalScaling()+initializePolyhedralFeatur
ok, understood, thanks for the answer !
BTW, what's the advantage of generating such polyhedral meshes, does it only speed up broadphase (and/or any other part of the detection), or does it helps with any other aspect ?
BTW, what's the advantage of generating such polyhedral meshes, does it only speed up broadphase (and/or any other part of the detection), or does it helps with any other aspect ?