Fixtures and masks(setMask())

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Nico
Prole
Posts: 6
Joined: Mon Jul 30, 2012 6:14 pm

Fixtures and masks(setMask())

Post 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?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Fixtures and masks(setMask())

Post by bartbes »

You need to use Fixture:setCategory, too.
User avatar
Nico
Prole
Posts: 6
Joined: Mon Jul 30, 2012 6:14 pm

Re: Fixtures and masks(setMask())

Post by Nico »

Thanks you, i will try it now.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], darkfrei, Google [Bot] and 6 guests