Exagerated buoyancy

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Exagerated buoyancy

Postby tod » Thu Jul 05, 2012 2:36 pm

I have a problem with buoyancy, namely it pretty much acts as a springboard, meaning the instant a body hits the plain it springs upwards with great speed. Tweaking density and viscosity didn't change anything. I'm using Newton 2.29. Does anyone have any idea what may cause this behavior?
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Julio Jerez » Thu Jul 05, 2012 2:42 pm

you need to add some viscuos drag to the body.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Exagerated buoyancy

Postby tod » Thu Jul 05, 2012 3:03 pm

Sorry I don't think I understand what you mean. I tried different values for viscosity on addBuoyancy, from 0.5 to 1000, without change. I also added some linear damping to the body that I throw, without much difference (it moved slower but jumped none the less). I also checked the density of the body, it's about 11 and the fluid had 0.7. Tried other densities for the fluid, etc...
I have a videohere, maybe there is something else I don't get.
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Julio Jerez » Thu Jul 05, 2012 3:45 pm

that looks like a different error. try setting the density to zero, and see if the rock sinks.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Exagerated buoyancy

Postby tod » Thu Jul 05, 2012 4:47 pm

Strangely enough the error is gone. I am not aware of doing something about it. The values I use are pretty much the same :roll: . Now I have a different problem. Any idea about this?

P.S. Thanks for your help.
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Julio Jerez » Thu Jul 05, 2012 4:58 pm

you are not setting the moment of inertia correctly.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Exagerated buoyancy

Postby tod » Fri Jul 06, 2012 2:42 am

I don't get it. I am not doing anything special with the momentum. The rock behaves normally when hitting the terrain, except when submerged.
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Julio Jerez » Fri Jul 06, 2012 8:54 am

are you usin core 300?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Exagerated buoyancy

Postby tod » Fri Jul 06, 2012 9:52 am

No, I'm using SDK 2.29.
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Julio Jerez » Fri Jul 06, 2012 10:54 am

try using core 300, I am no doing any code chnage or debugging in core 200 anymore.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Exagerated buoyancy

Postby tod » Sun Jul 08, 2012 2:34 pm

I've investigated a little bit further and it seems some strange rotation is generated, as seen in this video. Any ideas?
tod
 
Posts: 29
Joined: Thu Mar 04, 2010 4:39 pm

Re: Exagerated buoyancy

Postby Crashy » Thu Jul 12, 2012 4:06 am

I reactivated the buoyancy code for core 300, I thought it was working but yes, I've got this rotation issue too. I'm afraid I'm not sufficently skilled in physics to solve this problem.
Crashy
 
Posts: 101
Joined: Fri Dec 03, 2010 6:30 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron