Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / collision still detected regardless to category bits.

Author
Message
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 15th Feb 2012 19:44
maybe I am not using category bits correctly but, collision is still detected even though sprites are set to different category bits.



as well two mentioned commands don't seem to be documented.

Quote: "
SetSpriteCollideBit
SetSpritePhysicsCollideBits
"

Attachments

Login to view attachments
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 16th Feb 2012 10:57 Edited at: 16th Feb 2012 10:59
I couldn't get it to work either. I believe this is in the bug list, but you can double check and submit a new trouble ticket if you like.

Anyway, I just ended up using:
SetSpriteGroup( )

and when raycasting, SpriteRayCastGroup()

baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 16th Feb 2012 12:33
Yes, I use group too. Works fine.

basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 16th Feb 2012 16:58
it worked on group. thanks.

Login to post a reply

Server time is: 2024-05-03 07:22:24
Your offset time is: 2024-05-03 07:22:24