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 / chain limbs error

Author
Message
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 30th Jul 2013 15:59 Edited at: 30th Jul 2013 16:13
hey guys
i have tried looking up this problem on the threads but couldn,t figure it out
so if someone is nice enough to correct it for me, its only one line of code, it would go a long way to my learning

the second moon should bounce off the plain after its first collision with the first moon


also i know the second collision wont work the way it is but i need to get the limb on the second moon to work before i can calibrate it



thanks for any help and sorry if the code a bit messy
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 30th Jul 2013 19:33
hey guys
ive been messing around with limbs and keep getting a chain limb command error and have try looking it up but didnt get anywhere



the second moon should collide with the ist moon and then the plain and back

any help would be amazing
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 30th Jul 2013 22:10
you have this in your code, you add a limb with number: 2, you can't add limb 2 if limb 1 doean't exist and since you just created a plain it only has limb zero. The next limb you can add needs to have number 1
Quote: "make object plain 4, 100,100 make mesh from object 2,4 add limb 4,2,2"


brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 30th Jul 2013 22:31
okay thanks i though it was like making objects where each limb had to have a unique number. for interests sake if i was to create an object and want more than one limb would it then be 2?

Login to post a reply

Server time is: 2026-07-07 00:48:28
Your offset time is: 2026-07-07 00:48:28