Does Bepu v1 supports layer mask?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
starlaoxmelgs
Posts: 15
Joined: Mon Jan 13, 2020 8:26 am

Does Bepu v1 supports layer mask?

Post by starlaoxmelgs »

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

Re: Does Bepu v1 supports layer mask?

Post by Norbo »

v1 has CollisionRules by default. Check the CollisionFilteringDemo for an example.

You can also use arbitrary collision filtering (like masks) by setting the CollisionRules.CollisionRuleCalculator delegate.
Post Reply