I want to make a rough surface, which when a ball roll over it, the ball will stop very quick. (like a heavy steel ball rolling on some sand)
I have try to set friction to 1.0 for both the ball and the surface, and I have tried to set higher density for both, but it just doesn't seem like what I want, the开发者_运维百科 ball will stop only if it hit something, else, it will just keep rolling at the surface. (although is slow, but I want it stop like within 2sec).
To quote from: http://developer.anscamobile.com/content/game-edition-physics-bodies
"friction may be any non-negative value; a value of 0 means no friction and 1.0 means fairly strong friction. The default value is 0.3."
set it to 100, see what happens
精彩评论