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.

DarkBASIC Professional Discussion / use 0 for all objects on sparkys

Author
Message
Daniel wright 2311
User Banned
Posted: 25th Jun 2013 23:02
groupNum: the object you want to check for collision use 0 for all objects

this does not apply to all objects, just object 1, for all other objects in different groups for some reason collision is not checked. why?

my signature keeps being erased by a mod So this is my new signature.
SamKM
17
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 25th Jun 2013 23:18
Hey
Are you sure you're not reading the command help for the group command (EG SphereSlideGroup()), but actually using the command for just one object (EG SphereSlide())?
I'm sorry, that might not be the problem, but I'm not very good with Sparky's DLL
I'm just suggesting that because I did that with my code at one point
Daniel wright 2311
User Banned
Posted: 25th Jun 2013 23:49
Yea,no, I am using 0 for all objects and still not getting collision for group 3.

I checked all my code before I posted this so I know the function is in the loop and before others. here is my code, I am missing something. I do know I am pushing the object around with my player object and they should still get collision with the map.



my signature keeps being erased by a mod So this is my new signature.
Daniel wright 2311
User Banned
Posted: 26th Jun 2013 01:01
Never mind,I figured it out, my push objects is conflicting with the objects collision , thanks for your help any how.

my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-06 18:37:06
Your offset time is: 2026-07-06 18:37:06