This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
erdelf
wrote ...
2012/5/25
Seperate Collisionmask
erdelf
2012/5/25
#
Hello, is it possible to make a collisionmask for actors?
erdelf
2012/5/30
#
any suggestions?
davmac
2012/5/31
#
I suggest clarifying your question...
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
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
2012/5/31
#
hm. ok. I will look after it. thx for help
You need to login to post a reply.
X