Difference between revisions of "Shape:setMask"
m (1 revision: Importing from potato (again).) |
|||
Line 1: | Line 1: | ||
− | + | Sets which categories this shape should not collide with. | |
− | Sets which categories this shape should collide with. | ||
With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included. | With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included. | ||
== Function == | == Function == |
Revision as of 14:39, 18 April 2010
Sets which categories this shape should not collide with. With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included.
Function
Synopsis
Shape:setMask( ... )
Arguments
numbers ...
- Numbers from 1-16.
Returns
Nothing.