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.

Dark GDK / Euphoria Physics

Author
Message
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 27th Jul 2009 06:37 Edited at: 27th Jul 2009 06:38
is it possible to use physics like endorphine and euphoria with dark GDK? if not... can any1 point me in a direction to find a physics engine that i can use for free?
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 27th Jul 2009 07:02
If you want to use a Free Physics engine in DarkGDK, you will need to integrate it yourself.

It is quite a task to do that though.

Tokamak Physics I believe is not too difficult to integrate with DatkGDK.. and is a free physics lib, the same with Nuclear Glory, though I havent used that one.

To be honest with you though, DarkPhysics may be a little buggy here and there, but for the price you pay and the time it will save you programmnig your own solution, I think it really is worth it.

If it ain't broke.... DONT FIX IT !!!
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 27th Jul 2009 07:13 Edited at: 27th Jul 2009 07:14
darkPhysics... hmm... i'l take a look at that 5 years from now when i have a job... now about the Tokamak where can i find it and a tutorial on integrating it...
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 27th Jul 2009 07:18
aah nvm it looks REALY!! complicated.. ima just wait for DarkPhysics
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 27th Jul 2009 07:28
A link to the Tokamak Physics SDK Docs :

http://www.tokamakphysics.com/documentation/

A link to the Home Page :

http://www.tokamakphysics.com/index.htm

And a link to the WIKI :

http://en.wikipedia.org/wiki/Tokamak_physics_engine


Here is a link to another Physics Engine SDK that is free(Open Source) called ODE - Open Dynamics Engine, its specifically for rigid body physics.

http://www.ode.org/ode.html

and some tutorials for ODE :

http://www.alsprogrammingresource.com/ode.html


And lastly, another Free Phsics engine, this one specifically for games - Newton Game Dynamics

http://newtondynamics.com/forum/newton.php


As for tutorials on integrating it with DarkGDK I am sorry to say that is something you will have to figure out on your own as I dont know of any. There are some wrappers for DarkBasic Pro using ODE and Tokamak and also Newton Game Dynamics I believe, you can find them by searching the forums, perhaps their author's may be able to help you more with integration.

That is, im afraid to say, the drawback of the "free alternative", it generally requires alot more work to get going than the same or similar things that you can purchase... ( Im not saying that you should purchase products if you dont want to or cant afford to, just that its generally the easier option )

Anyway, if you do end up trying to integrate one of the above engines, I wish you the best of luck, and look forward to seeing the results

If it ain't broke.... DONT FIX IT !!!
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 27th Jul 2009 11:36 Edited at: 27th Jul 2009 11:38
euphoria isn't even physics...?

EDIT: I'd point you towards physX, which is more featured than ODE etc, and is used by real AAA game developers, and is free. ANd I've integrated it with DarkGDK, and there are posts on the forum on how to.

Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 27th Jul 2009 15:10
It's not hard, you just set the object world matrix to whatever the physics engine has.

dbSetObjectWorldMatrix(id, &matrix); ...?

Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 27th Jul 2009 16:13
Newon Dynamics looks ok right guys? to intergrate with darkgdk? Right? Or should i search for another?

--- Have no fear of perfection - you'll never reach it. ---
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 27th Jul 2009 16:31
I cant tell you for sure which would be better as I havent used them myself I use DarkPhysics at the moment, I think it would be best though to have a look at the features of each of your choices and make sure the one you choose does everything you will eventually need it to, it wouldnt be very good if you got 3/4 of the way through integrating a physics engine only to realise that particular engine doesnt do one particular thing that you need it too..

If you are really set on doing it yourself, I think perhaps jezza's suggestion may be the most beneficial for you. Nvidia's PhysX is an industry standard and has been used to create AAA commercial games many times, and there are also guides here on the forums to help you in getting it to work with DarkGDK.

If it ain't broke.... DONT FIX IT !!!

Login to post a reply

Server time is: 2024-10-01 08:48:28
Your offset time is: 2024-10-01 08:48:28