Difference between revisions of "Talk:SetRigidBodyMass"

No change in size ,  11:55, 7 June 2007
m
no edit summary
imported>Entim
(revert)
imported>Ma4D6j
m
Line 7: Line 7:
Using this function on objects with skeletons (NPCs, creatures, etc.) causes the "bones" to stretch or contract. --[[User:Deathbane27|Deathbane27]] 06:31, 14 August 2006 (EDT)
Using this function on objects with skeletons (NPCs, creatures, etc.) causes the "bones" to stretch or contract. --[[User:Deathbane27|Deathbane27]] 06:31, 14 August 2006 (EDT)


:In my experience it's exactly like stated in the article, an object with a rigid body mass of 50+ is very hard to move at all, and one with 100 won't even move when you run into it.--[[User:JOG|JOG]] 11:32, 26 August 2006 (EDT)
:In my experience it's exactly like stated in the article, an object with a rigid body mass of 50 is very hard to move at all, and one with 100 won't even move when you run into it.--[[User:JOG|JOG]] 11:32, 26 August 2006 (EDT)


::The various observations are due to the fact that the mass of a bhkRigidBody alone controls nothing about the movement, only the combination with other properties like friction does. Also, there is no such thing as a "maximum force" the player can exert onto bodies, so if it is movable (mass < 95), it can be moved at 80 mass as much as at 50 mass, though the movement will be much smoother at 80: If the player moves the mouse half of the screen while grabbing the object, the force is greater than it would be for a mass of 50, moved half the screen, and thus the movement overcomes friction more easy.
::The various observations are due to the fact that the mass of a bhkRigidBody alone controls nothing about the movement, only the combination with other properties like friction does. Also, there is no such thing as a "maximum force" the player can exert onto bodies, so if it is movable (mass < 95), it can be moved at 80 mass as much as at 50 mass, though the movement will be much smoother at 80: If the player moves the mouse half of the screen while grabbing the object, the force is greater than it would be for a mass of 50, moved half the screen, and thus the movement overcomes friction more easy.
::If you want a really smoothly moving object, go for high mass and low friction.
::If you want a really smoothly moving object, go for high mass and low friction.
:::--wz
:::--wz
Anonymous user