You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Constructor
Margin is not subtracted from m_implicitShapeDimensions in the construcotr, which results in wrong half extents when setMargin or setLocalScaling is called.
getAabb
Another problem with constructing the half extent of the up axis
halfExtents[m_upAxis] = getRadius() + getHalfHeight();
and that is because both the radius and half height have each a margin deducted. So they should be getting a double margin added back, but they get only one margin
halfExtents += btVector3(getMargin(), getMargin(), getMargin());
This discussion was converted from issue #340 on April 26, 2021 03:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Constructor
Margin is not subtracted from m_implicitShapeDimensions in the construcotr, which results in wrong half extents when setMargin or setLocalScaling is called.
getAabb
Another problem with constructing the half extent of the up axis
halfExtents[m_upAxis] = getRadius() + getHalfHeight();
and that is because both the radius and half height have each a margin deducted. So they should be getting a double margin added back, but they get only one margin
halfExtents += btVector3(getMargin(), getMargin(), getMargin());
Beta Was this translation helpful? Give feedback.
All reactions