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
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 6th Nov 2006 15:02
hi,will dbp physics ever have some kind of wind physics simulation??

maybe someday??

General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 8th Nov 2006 11:00
Its simple, you just add a force to each dynamic object, and the lighter the objects are, the more the force is applied.

AMD Athlon 64 3200+, 1GB ram, Geforce 6600 GTX, 80GB HDD
Vist www.scratchyrice-dev.co.uk
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 8th Nov 2006 16:54
ok,thanks!
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 8th Nov 2006 18:17
Quote: "and the lighter the objects are, the more the force is applied."


For what reason? As it should infact be the opposite if you wish to fake some sort of a wind resistance into your simulation.

Hallowed are the ori.
Hoozer
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 8th Nov 2006 19:42
Quote: " "and the lighter the objects are, the more the force is applied." "


If an object is lighter as an other one, the lighter one will automaticly react easier to the "wind-force" as the heavier object! (The masses, friction etc. of the objects influence his behaviour!)

Dark Coder is right:
For moving objects a "wind-resistance"-force would be more correct, so that a car wouldn't accelerate that good the faster it gets! (The faster it gets the higher this force becomes!)
(If it moves with the wind: depending how strong the wind is, up to some point the acceleration would benefit from the additional wind-force! The forces would add together. The faster the car gets the lower this effect becomes!)


That's how I would see it! (Would produce some work to implement it in the "professional" way! )

I think that's why "David iz cool" asked, if there's some predefined force for this effect!

Hoozer

Athlon 64X2 4800+ (939);
2GB DDR-400;
GeForce 6800LE (@12 Pixel-Shader-Units, 6 Vertex-Shader-Units; GPU: @ 380 MHz, RAM: 434 MHz)
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 8th Nov 2006 22:51
well,i just want my characters' hair to blow around in the wind.also the tree leaves to move realistically.

Hoozer
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 9th Nov 2006 01:32 Edited at: 9th Nov 2006 01:33
@ "David iz cool"

As I remember right from the samples from the AGEIA-SDK-Examples (C++) I torn appart a year ago, they circled through all objects to apply a specific force to all dynamic objects!

Maybe a trigger-zone created around the desired objects can reduces this process to the only needed ones! (Just an idea I had in this moment!)

Good luck (post a pic of your success, if possible, would be nice to see the result)!


Hoozer

Athlon 64X2 4800+ (939);
2GB DDR-400;
GeForce 6800LE (@12 Pixel-Shader-Units, 6 Vertex-Shader-Units; GPU: @ 380 MHz, RAM: 434 MHz)
jasonhtml
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: OC, California, USA
Posted: 9th Nov 2006 06:21
Quote: "well,i just want my characters' hair to blow around in the wind.also the tree leaves to move realistically."


heres a quick idea i just came up with for what you want(untested, just a theory):

1) for hair blowing in the wind, you could set up a bone(or set of bones, depending on the complexity of the hair); set up a dumby object on the head that has the 'wind force' applied to it; apply another force like elastic so that the dumby object cant go too far. then, rotate/position the bones/limbs of the hair to match the dumby object. then, they hair will flow in the direction of the wind.

2)for leaves swirling in the wind, you might not even need physics(except for the leaves colliding into other objects). to have them swirl, you could use a mathematical function for a spiral; have the leaves' x and z positions follow the spiral(with randomness added in so that it doesnt look fake). then, set the y as a function being so that the leaves move closer to the ground as x and z approach 0 on the spiral. also, to add even more realism, you could move all of leaves in a group in one direction so that the leaves spiral while heading in a certain direction

i could go into more complexity with this if i had dark physics, but thats the gist you could work with. i hope you could understand what i ment


Thread: http://forum.thegamecreators.com/?m=forum_view&t=78971&b=8&p=0
*New Website Coming Soon*
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 9th Nov 2006 16:46
thanks for the ideas! ill try it out.

offtopic,but does anyone know when dp will be updated??
mike said he was going to give us an example for a character controller bumping things around,also some new commands & stuff.
im anxious to see it.
Hoozer
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 9th Nov 2006 16:57 Edited at: 9th Nov 2006 16:58
I think we all are excited to see which AGEIA-Version he will implement / convert into DP!

In his thread is nothing new to see.
http://forum.thegamecreators.com/?m=forum_view&t=92726&b=30

I hope he will give a statement there soon!


Hoozer

Athlon 64X2 4800+ (939);
2GB DDR-400;
GeForce 6800LE (@12 Pixel-Shader-Units, 6 Vertex-Shader-Units; GPU: @ 380 MHz, RAM: 434 MHz)

Login to post a reply

Server time is: 2024-11-24 14:33:33
Your offset time is: 2024-11-24 14:33:33