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 / Newton Terrain Collision - Help!

Author
Message
DJ_Mic
15
Years of Service
User Offline
Joined: 4th Apr 2009
Location:
Posted: 7th Apr 2009 19:40
Hi,

i have a little question to you. I have a terrain and an vehicle. how its possible to make an collision? I want to drive on the terrain, but my vehicle falls down.

I have search here a lot about it, but nothing is helpfull. I hope you could help me. i sit on there about 4 days...

here is my code:


i would be really happy if you could help me.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 8th Apr 2009 04:21
Looks like this isn't working because you're using Newton for the vehicle and Sparky's for the terrain. The two can't work together, you have to do everything with Sparky's or everything with Newton.



DJ_Mic
15
Years of Service
User Offline
Joined: 4th Apr 2009
Location:
Posted: 8th Apr 2009 11:37
Ahhhh thanks, but how do i make this with Newton?

I found this Command: count = NDB_NewtonWorldCollide( col1, col2 )

But how do i implent it to my World?
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 9th Apr 2009 01:32
I haven't used Newton so I can't give you any definite directions, but if you're calling NewtonVehicle for the vehicle, there needs to be an equivalent call to setup the terrain. I don't know if there's a NewtonTerrain, or NewtonMesh type command that will set things up for you, but I think that's where you need to be looking.

Once that's done, you can then probably use the NewtonWorldCollide call.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 10th Apr 2009 14:28
http://forum.thegamecreators.com/?m=forum_view&t=130652&b=1

Check the above, its newer and easier to understand.

There is always one more imbecile than you counted on.
DJ_Mic
15
Years of Service
User Offline
Joined: 4th Apr 2009
Location:
Posted: 13th Apr 2009 18:04
Yeah, but the download link is down. i saw this before, could i get the version?

Login to post a reply

Server time is: 2024-09-28 04:12:24
Your offset time is: 2024-09-28 04:12:24