SetLocalScaling propagates to btCompoundShape children now. Note that this issue might affect shared child shapes.

See also Issue 96
http://code.google.com/p/bullet/issues/detail?id=96

Thanks chucksspencer for the patch
This commit is contained in:
erwin.coumans
2009-12-18 01:13:33 +00:00
parent fcd2b93a22
commit 6bf3988837
2 changed files with 18 additions and 4 deletions

View File

@@ -116,10 +116,8 @@ public:
Use this yourself if you modify the children or their transforms. */
virtual void recalculateLocalAabb();
virtual void setLocalScaling(const btVector3& scaling)
{
m_localScaling = scaling;
}
virtual void setLocalScaling(const btVector3& scaling);
virtual const btVector3& getLocalScaling() const
{
return m_localScaling;