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 Discussion / [LOCKED] I tried to figure it out

Author
Message
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 30th Mar 2007 05:53 Edited at: 30th Mar 2007 20:02
I apologize for the subject, its not very descriptive. I wasn't thinking at the time, so sorry.

hi guys, i know i said i'd do this without help, but i dont' get whats going on. The sphere rolls over the cone and is supposed to pick it up, but no dice. I don't know what to do, could somebody help me please?



Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 30th Mar 2007 07:08 Edited at: 30th Mar 2007 08:48
Never mind, i think i got it.

Nope was wrong on that.



well so far i've tried sphere collision, polygon, and box. I don't know where to go from here. I'm gonna go to bed, if anybody could help, i'd appreciate it. Thanks...i'm gonna try and figure this out tomorrow morning, collision is weird.

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 1st Apr 2007 02:07
Hello,

A couple of minor changes and you program should be fine.

The GLUE OBJECT TO LIMB command glues an object to a limb. You haven't set up any limbs and you are trying to tell the program to glue object 2 to limb 4 of object 1. If you haven't set up any limbs, there is a root limb that represents the object itself - limb 0.

Instead of
glue object to limb 2,1,4

it should read
glue object to limb 2,1,0

The main problem is where you have DO located. You are cycling the movement commands through the loop, but you only check for collision once before the loop begins. Move the DO before the If object collision(1,2)=1. Now it should check for collision on every iteration.

Also, if you change the scale of the cone so you can see more than a flat surface, you'll be able to witness the glue object to limb result better.

Enjoy your day.
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 1st Apr 2007 02:15
latch, you're a freakin genius man! would you believe i didn't know to do for two days? Thank you so much, you just helped me out a lot, i can a lot of cool things with that. like katamari

thank you so much again.

Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 2nd Apr 2007 01:00
well this is all wrapped up, could a mod lock it, there's really no need for it anymore

Login to post a reply

Server time is: 2026-07-05 22:39:26
Your offset time is: 2026-07-05 22:39:26