what is means about the Parameters in NewtonBodyAddBuoyancyF

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

what is means about the Parameters in NewtonBodyAddBuoyancyF

Postby disney » Wed Mar 17, 2010 9:47 am

what is means about the Parameters in NewtonBodyAddBuoyancyForce,such as primitive->m_density,0.8 , 0.8, gravity[0]
NewtonBodyAddBuoyancyForce (body, primitive->m_density, 0.8f, 0.8f, &gravity[0], PhysicsBouyancyPlane, (void*) trigger);

I ever made the "m_density=0.004, gravity=(0,-9.8*mass,0) ,the results looks Correct, why ?
disney
 
Posts: 5
Joined: Fri May 08, 2009 2:24 am

Re: what is means about the Parameters in NewtonBodyAddBuoyancyF

Postby JernejL » Wed Mar 17, 2010 10:37 am

Check those functions wiki pages to find out what the parameters mean, the forum turned them into links for you ;)
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: what is means about the Parameters in NewtonBodyAddBuoyancyF

Postby disney » Thu Mar 18, 2010 9:16 am

what , the means about "primitive->m_density"
In wiki ,the "primitive->m_density" is fluid density,
the fluid density must be 1.0 ,why is primitive->m_density here?
beg to answer
disney
 
Posts: 5
Joined: Fri May 08, 2009 2:24 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest