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 Physics & Dark A.I. & Dark Dynamix / object floating in fluids?

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Jul 2008 15:06
Hi All,

Anyone worked out what you have to set to get an object to float in fluids.

Dark Physics makes any hot drink go cold.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 8th Jul 2008 19:22 Edited at: 8th Jul 2008 19:26
A long time ago, when Dark Physics was new, Lee released some sample code. It was the Statue of Liberty in the middle of a lake, and you threw crates at it. It included some bouyancy code, might have appeared in a newsletter.

[EDIT] Found it... http://forum.thegamecreators.com/?m=forum_view&t=89896&b=30

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Jul 2008 19:49
BatVink cheers wondered where that one was, but that not what I want an answer to, I am on about the fluid function and making object float in that at the moment they sink.

Dark Physics makes any hot drink go cold.
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 12th Jul 2008 22:41
The demo as i recall did not so much demonstrate floating based on the different specific gravity of the materials but applied forces to the crates when then went below a plane defined by the "water Level". You can probably use the same trick to simulate what you need

System
MacBook Pro
Windows XP Home on Boot Camp

Login to post a reply

Server time is: 2024-09-19 02:23:38
Your offset time is: 2024-09-19 02:23:38