Skip to content
Discussion options

You must be logged in to vote

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).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LeXXik
Comment options

@jrouwe
Comment options

Answer selected by LeXXik
@LeXXik
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants