-
|
I have a primitive convex shape, e.g. |
Beta Was this translation helpful? Give feedback.
Answered by
jrouwe
Dec 8, 2023
Replies: 1 comment 3 replies
-
|
The |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a member of ScaledShape, you need to cast your body's shape to ScaledShape if you detect that the GetSubType() is a scaled shape then you can test GetInnerShape().GetSubType() (which may also not be a leaf shape, so you need to write a recursive function).