v2 Equivalent of StaticGroup

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Posts: 11
Joined: Mon Aug 05, 2019 12:06 pm

v2 Equivalent of StaticGroup

Post by SugarGlider » Fri Feb 07, 2020 3:57 am

I see that in v1 there is the option for StaticGroups, but this is not part of v2. I have looked at Compound objects but they seem to be for dynamic objects only. Is this correct? What is the correct way to go about adding a compound static body in v2 or should each part just be created as an Independent static body?

Thanks :)

Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: v2 Equivalent of StaticGroup

Post by Norbo » Fri Feb 07, 2020 3:46 pm

There are no StaticGroups in v2; the broad phase is now fast enough that they're almost pointless (and once I get around to a few more changes, they'll be totally pointless). Having 10000 static colliders won't be a problem.

You can use compounds in statics too. All shapes can be used by any collider type. Compounds can only contain convex children, though.

Post Reply