Using pickRect() with a specific layer
by Christos Karapiperis · in Torque Game Builder · 10/06/2006 (4:12 am) · 3 replies
Hi,
How exactly am I gonna use pickRect() in order to choose objects from a specific layer, e.g. layer 9?
I know that there is the layerMask option in pickRect() but I can't get it working. It seems that I have a difficulty in understanding how bit masks work exactly.
Thanks.
How exactly am I gonna use pickRect() in order to choose objects from a specific layer, e.g. layer 9?
I know that there is the layerMask option in pickRect() but I can't get it working. It seems that I have a difficulty in understanding how bit masks work exactly.
Thanks.
#2
What's the default value? I want to choose only the objects from a specific layer.
Thanks
10/06/2006 (5:34 am)
Thanks but it doesn't work. I believe it has something to do with the groupMask. What about that?What's the default value? I want to choose only the objects from a specific layer.
Thanks
#3
What's the default value? I want to choose only the objects from a specific layer.
Thanks
10/06/2006 (5:48 am)
Thanks but it doesn't work. I believe it has something to do with the groupMask. What about that?What's the default value? I want to choose only the objects from a specific layer.
Thanks
Torque Owner Corey Martin