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.

Newcomers DBPro Corner / WTF. why doesn't this work?

Author
Message
seris
16
Years of Service
User Offline
Joined: 5th Jul 2008
Location:
Posted: 5th Jul 2008 15:29
Ok, firstly, i am a complete noob at darkBASIC pro.
anyway, i'fe got the book " hands on darkbasic pro" and after a bit it tells me to do this "PERFORM CSG UNION objno1, objno2"
but it doesnt work. it just says: could not understand command at line....

and it doesnt turn blue like all the ither commands.
I typed it in exactly as it is in the book so why wont it work??

set display mode 1024, 768,32
color backdrop 0
backdrop on

autocam off
position camera 0,0,-100

make object cube 1,40
make object box 2,10,30,10
position object 2, 0,15,0
wait key

perform csg union 1,2

delete object 2

do
turn object left 1,1.0
pitch object up 1,1.0
loop

end
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 5th Jul 2008 16:59
welcome to the fun of csg heres a link that might help you get going.

http://forum.thegamecreators.com/?m=forum_view&t=90484&b=6

Dark Physics makes any hot drink go cold.
seris
16
Years of Service
User Offline
Joined: 5th Jul 2008
Location:
Posted: 6th Jul 2008 10:17
well, that didn't really answer my question.
but i figued it out anyway.
all i needed was an update on dbpro. seems i was running a really old version.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 7th Jul 2008 03:30
Does anyone know if collision works on CSG objects?

Login to post a reply

Server time is: 2024-09-27 16:28:19
Your offset time is: 2024-09-27 16:28:19