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 / Help me with newton

Author
Message
Kesav
17
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 20th Dec 2006 17:26
Hi everybody

I am making my falling ball game and i need help with newton physics

My code is:


The problem is the NDB_NewtonCreateTreeCollision crashes and no error, no warning, nothing..

please help me with it..

Thanks for replies

Only learning will make a pro game developers from us
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 20th Dec 2006 17:35 Edited at: 20th Dec 2006 17:36
Newton needs the memblock dll when using tree collision.
You have to force DBpro to include this dll in the exe by using a memblock command.
Include a function like this in your code and all will be good.




The word "Gullible" cannot be found in any English Dictionary.
Kesav
17
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 20th Dec 2006 17:39
So i need to create one memblock???

Must have some important settings or this will be ok??



Only learning will make a pro game developers from us
Kesav
17
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 20th Dec 2006 17:41
Oh Thank you Flashing Blade.. you are king... thank you again..

Much helping me and my experience was raised

Only learning will make a pro game developers from us
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 20th Dec 2006 18:04 Edited at: 20th Dec 2006 18:06
You're very welcome.

Quote: "So i need to create one memblock???"


Nope just include a memblock command, and it doesn't even need to be used by your program.
ie:

would work.

But a function you never call is best.


The word "Gullible" cannot be found in any English Dictionary.
White knight
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location:
Posted: 31st Dec 2006 03:43
if you need help with newton still there is a good tutorial by CuCuMBeR here also look in the thread there is one for a vehicle that can be driven http://forum.thegamecreators.com/?m=forum_view&t=55741&b=6

abcd

Login to post a reply

Server time is: 2024-09-25 15:29:22
Your offset time is: 2024-09-25 15:29:22