Game Development Community

TGB Friction Problem

by Chris Labombard · in Torque Game Builder · 05/18/2006 (10:06 pm) · 6 replies

Having a friction problem here.

I have balls that fall under gravity with friction set to 0.0 (RIGID)

I also have vertical barriers with friction set to 0.0 (RIGID)

Once in a while one of my balls will collide with the barrier and will hang there, like it's under friction. Then it will fall. Often it will fall as if it were gaining velocity the whole time. In other words, it falls very fast.

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
05/20/2006 (8:41 am)
Just a friendly bump :)
#2
05/20/2006 (9:41 am)
If it has no friction it will fall like gaining velocity, because thats exactly what gravity does (constant acceleration) :-)
#3
05/20/2006 (9:54 am)
Yes, but the ball doesnt accelerate. It hangs on the barrier. Then after a small period of time, it falls as if it had been accelerating the whole time (it doesn't slowly gain velocity, it just jerks to having high velocity)
#4
05/28/2006 (2:58 pm)
*bump*

Can anyone offer a suggestion, or point me where to look so I can start to fix this on my own?
#5
06/10/2006 (9:05 pm)
I am having a similiar issue. I have falling objects hitting a 45 degree frictionless barrier. Once out of maybe every 25 objects (all object are identical), one will stick to the barrier until another object hits hit, and only then will it fall as it should.
#6
06/10/2006 (9:17 pm)
I found my problem was that the barriers were small, so there mass and inertial moment was very different then my larger objects... Once I manually set them to be right, all my problems were solved.