Page 1 of 1

Fixtures and masks(setMask())

Posted: Wed Aug 01, 2012 7:24 am
by Nico
Im having trouble understanding how to use fixture:setMask()
I tried putting fixture:setMask(1) to all my physics objects, but they didnt collide. Could someone explain me the correct use of it?

Re: Fixtures and masks(setMask())

Posted: Wed Aug 01, 2012 9:02 am
by bartbes
You need to use Fixture:setCategory, too.

Re: Fixtures and masks(setMask())

Posted: Wed Aug 01, 2012 9:46 pm
by Nico
Thanks you, i will try it now.