Does Bepu v1 supports layer mask?

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

Does Bepu v1 supports layer mask?

Post by starlaoxmelgs » Wed Jan 29, 2020 5:58 am


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

Re: Does Bepu v1 supports layer mask?

Post by Norbo » Wed Jan 29, 2020 8:32 pm

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