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 / how simulate physics?

Author
Message
Adanf
16
Years of Service
User Offline
Joined: 22nd Sep 2008
Location: Italy!!!!!!!!!
Posted: 12th Oct 2008 01:22
there are commands in dark gdk (stabdard) to simulate physics?
or i must buy dark physics?
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 12th Oct 2008 03:05
try sparky's collision
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 12th Oct 2008 08:10
If the DGDK Help File is any indicator then to simulate actual physics you need to get Dark Physics, or some other alternative.

~~It's not who you are underneath, but what you do that defines you.~~
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 12th Oct 2008 08:41
The PhysX SDK is free, you know.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 12th Oct 2008 08:44
It is, but if you want to commercially sell your game(s) with PhysX, its a 50k license.
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 12th Oct 2008 08:44 Edited at: 12th Oct 2008 08:46
Quote: "The PhysX SDK is free, you know. "


Excellent...

I probably won't be saying that when I'm trying to use it... (I am implying here that I sux at programming and not that the SDK sucks).

~~It's not who you are underneath, but what you do that defines you.~~
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 12th Oct 2008 08:45
Quote: "It is, but if you want to commercially sell your game(s) with PhysX, its a 50k license. "


$50,000???

Umm, do yard sales count? XD

~~It's not who you are underneath, but what you do that defines you.~~
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 12th Oct 2008 08:47
Quote: "It is, but if you want to commercially sell your game(s) with PhysX, its a 50k license."


Based on this:

Quote: "I am implying here that I sux at programming"


I'd say he's fine with that.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 12th Oct 2008 08:49
Quote: "I'd say he's fine with that. "


Your right on the money with that (if you meant if I was fine without the license).

~~It's not who you are underneath, but what you do that defines you.~~
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 12th Oct 2008 11:15
yes, physX is free, but the annoying thing is physX wants you to use matrices to rotate stuff, which GDK doesn't support. that is the reason i started using raw directX.
SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 12th Oct 2008 15:48
You can just write your own physics engine, and then you'll know all the ins and outs of how it works! I'm actually in the process of it now...


My site, for various stuff that I make.
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 12th Oct 2008 17:06 Edited at: 12th Oct 2008 17:07
umm, but those are never as good, and i think this guy is a beginner....
be nice to see how you do though.
Adanf
16
Years of Service
User Offline
Joined: 22nd Sep 2008
Location: Italy!!!!!!!!!
Posted: 12th Oct 2008 21:17
Ok, but i use physics only for simulate the object gravity (like tank move on a hill).
There is a code in dark gdk for do that or i must buy dark physics?
(i would an high level code for make physics, no a physx)
Someone can help me?
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 12th Oct 2008 22:00 Edited at: 13th Oct 2008 00:02
Quote: "Ok, but i use physics only for simulate the object gravity (like tank move on a hill).
There is a code in dark gdk for do that or i must buy dark physics?
(i would an high level code for make physics, no a physx)
Someone can help me? "


For something like that, the easiest free solution would be combining Sparky's Collision with your own simply gravity solution. It wouldn't be too difficult.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
Gasilli
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Having a party in your garage
Posted: 12th Oct 2008 22:39
Quote: "It would be too difficult."


I take it you mean wouldn't, lol.
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 13th Oct 2008 00:02
Quote: "I take it you mean wouldn't, lol."


Correct. I edited it.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
Adanf
16
Years of Service
User Offline
Joined: 22nd Sep 2008
Location: Italy!!!!!!!!!
Posted: 14th Oct 2008 18:21
sorry,but what is Sparkly's Collision?
It is the dbParticle commands in dark gdk or other?

thx
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 14th Oct 2008 18:56
It is not part od GDK, but it is free. it is used to detect collision between objects, and for raytracing. search the forums for Sparky's
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 14th Oct 2008 22:07 Edited at: 14th Oct 2008 22:07
Quote: "Sparkly's"




Sparky's collision is an EXTREMELY useful plugin to help you with collision - especially sliding collision. Search 'DBP Collision' and you'll find it.

Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 15th Oct 2008 06:42
You could always try ODE, not sure if the wrapper is included with DGDK though.

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Oct 2008 22:34
Actually, GDK does support matrices. Just get a pointer to the sObject struct, and enable the override flag (I can't remember what it's called, but it has a comment after saying it is used by DarkPhysics) and then you can set the matrix directly for the object!

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!

Login to post a reply

Server time is: 2024-09-30 09:28:21
Your offset time is: 2024-09-30 09:28:21