This site requires JavaScript, please enable it in your browser!
Greenfoot back
erdelf
erdelf wrote ...

2012/5/25

Seperate Collisionmask

erdelf erdelf

2012/5/25

#
Hello, is it possible to make a collisionmask for actors?
erdelf erdelf

2012/5/30

#
any suggestions?
davmac davmac

2012/5/31

#
I suggest clarifying your question...
erdelf erdelf

2012/5/31

#
ok. I mean that when I say something like "getOneIntersectingObject" it only searches on a specified mask instead of the whole picture.
davmac davmac

2012/5/31

#
There's no built-in mechanism for that, but you are free to implement your own of course! There was a discussion a little while back (including some code) which did a pixel-by-pixel check - it's a bit slower, but it works.
erdelf erdelf

2012/5/31

#
hm. ok. I will look after it. thx for help
You need to login to post a reply.