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 / Update 4.1 collision issue.

Author
Message
CodeOrc
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 14th Sep 2003 01:58
The below collision code worked in DBPro 3 but not in 4. My scene is just a plain with some cylindars standing upright. Before my update, I could hover just above the plain and weave in and out of the cylindars.

Now my collision (with 4)does not let me move at all unless I position my hover craft above the entire scene. It acts like it has placed an ecompassed polygon over my whole level.

any ideas

>>This is in my Loading part
rem object 10 is my hover craft
set object collision on 10
set object collision to polygons 10
rem object 1001 is my level
set object collision on 1001
set object collision to polygons 1001

>>This is in my Do-Loop
If Object collision(10,1001)>0 then position object 10,x#,0,z#: score#=score#-1:if score#=0 then end

Any help would be appreciated, thank you.

Login to post a reply

Server time is: 2024-09-21 00:59:39
Your offset time is: 2024-09-21 00:59:39