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.

Author
Message
BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 7th May 2006 18:30
ive heard one or two people talk abotu ODE physics, i downlaoded a game demo which was written whith it, in DBP i saw the source seems pretty cool, where can i downlaod this from. I went to [href]www.ode.org[/href] and it only mentiones the c++ one. Anyone know?



dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 7th May 2006 19:00
get the latest dbp and voila.

Hallowed are the ori.
Hawkeye
20
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 7th May 2006 19:34
But be warned, TGC's implimentation of it sucks.


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
Oolite
18
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 7th May 2006 19:37
not really, i think its quite good, they just haven't put keywords and help in it, if you know c++ you could expand on it easily (i assume)
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 7th May 2006 19:41
ODE is used because of licensing simplicity in FPSC. Newton is free, great, and has so many more features.


Come see the WIP!
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 7th May 2006 19:41
It's very simple, and no, TGC's implementation is not very good. Get Dark Physics when it comes out, or use Newton. Newton is a lot more difficult(IMO) than ODE, but you'll get more realistic results.

If you decide to go for ODE anyway, I've made a keywords file. See the attached.

Attachments

Login to view attachments
BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 7th May 2006 20:10 Edited at: 7th May 2006 20:11
ah thats cool thanks i got the ode stuff working, i think. its highlighting etc... but i cant find anything about it in the index file. I asume it will be under O.
so because i cant find out how to use it i cant get it to work so im not sure if its workign or not actually.
Any ideas?



Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 7th May 2006 20:12 Edited at: 7th May 2006 20:24
Quote: "I've made a keywords file"


I haven't made any help files. And in fact, there are no help files, as TGC doesn't officially support ODE in DarkBASIC Pro.

BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 7th May 2006 20:21 Edited at: 7th May 2006 20:22
Quote: " But be warned, TGC's implimentation of it sucks."

thought by that he meant the help files etc...
ah ok then. So how on earth am i supposed to know how to use it Lol. Anyone know where there is help files?



Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 7th May 2006 20:25
Quote: "And in fact, there are no help files, as TGC doesn't officially support ODE in DarkBASIC Pro."


Hawkeye
20
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 7th May 2006 20:29
There's a tutorial in one of the old newsletters, search for it.


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 7th May 2006 20:29
sorry didnt mean to say that i mean tutorials liek on the net



Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 7th May 2006 20:51
Oh!

Yeah, then check out the tutorial in one of the older newsletters.

bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 7th May 2006 21:48 Edited at: 7th May 2006 21:58
Try searching the forums for ODE back in december i believe there was lots of ODE discussion...I believe it was the january newsletter that had the ode example.I will check for you.

[edit]
My bad it was all the way back in the october issue
[/edit]

[reedit]
just found a sight created by kenjar that lists the undocumented commands.
http://www.gamersol.co.uk/DarkBASICHelp/help/index.html
[/reedit]

Ink all over the screen...and dang it! Signature still does not show.
BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 7th May 2006 21:56
ok thanks guys, im sure ill check it out for my next game . Cant be bothered to re write all the code .
Thanks Agiain



BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 8th May 2006 00:11 Edited at: 8th May 2006 00:51
hey i looked at the tut in the magazine seems pretty easy, one thing though, it doesnt explain what this means, it just tells you to do it:

ode set world step 0.05
ode set world erp (0.2)*2.5
ode set world cfm (10^-5)*2.5

i looked at the site you showed seems a good tut havent read it yet though ill give it a look thanks

im quite impressed thought, i may recode my game, how do i make the matrix the ground? so that the stff wont go through it
also how do you move stuff with it, the ode force thing makes it spin as it moves how do i stop that?



bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 11th May 2006 02:57 Edited at: 11th May 2006 02:59
unfortunately ODE does not work with either matrixes or advanced terrain...just standard objects with no limbs. Also if there is too large of a gap between 3 vertices the face will not be seen by the engine.

As a side note...your objects center of balance is determined by the origin of the object...place the origin at very bottom and object will almost always land on it's base...put it at top and object will easily fall over and may even stand on head.

not sure about spin part never noticed i made a simple bowling program like 3 days after it was out.

Ink all over the screen...and dang it! Signature still does not show.
Gnomes Games
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: FRANCE
Posted: 11th May 2006 23:19
You can use ode because it is great.
You can't use matrix and advanced terain with it but you can use complex direct x mesh (such as cartography shop world) !
Look at the ode thread by IanM in the dll section of the forum to get the latest version.
Hope that help...

AMD Athlon 64 3400+/1 Go DDR/Ati X600 512 Mo/260 Go HD/Windows XP SP2/DirectX 9.0c (APRIL 2006)/Dark Basic Pro 6.0 RC10
Sorry for my so bad english...
Hawkeye
20
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 11th May 2006 23:25
LIT made some wonderful code to convert a matrix to an object... check it here -> http://forum.thegamecreators.com/?m=forum_view&t=58829&b=6


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
BENOJ
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 12th May 2006 22:36 Edited at: 12th May 2006 22:50
cheers guys, il have to hav a look at that... im gonna haver to change the coda again though I changed it, then found i couldnt have matrix, but now i can do this i guess ill have to givie it a go ill poat back after ive used it.

do i just copy the function MATRIX TO OBJECT ?


[edit]

what are the following things in ur function?

tex_x_tiles, tex_z_tiles, limb_x_tiles, limb_z_tiles, begtexnum, endtexnum

[/edit]



Login to post a reply

Server time is: 2024-05-02 02:00:41
Your offset time is: 2024-05-02 02:00:41