Difference between revisions of "Talk:SetRigidBodyMass"
Jump to navigation
Jump to search
m
Reverted edit of Ma4D6j, changed back to last version by Entim
imported>Ma4D6j m |
imported>TS7 m (Reverted edit of Ma4D6j, changed back to last version by Entim) |
||
Line 1: | Line 1: | ||
Note: The above is incorrect in my observations. Based on my experience, the higher the value, the more it bounces. | |||
*0 = no movement | *0 = no movement | ||
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 | :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 |