Jump to content

Bouyancy... How Would You Approach It...


Guest Red Ocktober
 Share

Recommended Posts

Guest Red Ocktober

i've been getting familiar with the physics aspects of LW... right now i'm playing with adjusting the bouyancy of an object... adjusting mass works, but not as expected, and it really doesn't seem like the way i should be approaching this...

 

anyone done anything along these lines yet...

 

thx

 

--Mike

Link to comment
Share on other sites

The buoyancy value is of most importance, which is quite logical. The mass is just a secondary issue. It's about the same thing that objects of any mass fall the same speed in vacuum. So mass is not important, but the media is.

 

Julio wrote something about Buoyancy, but it seems Newton doesn't have it correctly implemented yet:

http://newtondynamics.com/wiki/index.php5?title=Buoyancy

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Guest Red Ocktober

yeah... all i see is setbouyancymode() for bodies... i've got the mass adjustment thing working, but like you said, that aint right :)

 

i guess i've gotta come up with some sorta algorithm using the body velocity based on a bouyancy state...

 

 

--Mike

Link to comment
Share on other sites

Guest Red Ocktober

it's worth a try...

 

i'm working in BMax right now, and it seems as if setbodyfriction isn't available... i'll play with em and see...

 

push come to shove, i've got some blitz3d code i can fall back on which is based on up/down velocity... (think i got a short video of it in action i'll attach in a second)...

 

thx L

 

 

(2 nostalgic vids in the zip... old blitz3d stuff... open and play)

 

--Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...