Commits

German Larrain committed 1ea8cf0

collision.near_callback's "mu" and "bounce" parameters set to default, with additional comments

Comments (0)

Files changed (1)

ars/model/simulator/collision.py

 	Callback function for the collide() method (in ODE). This function checks if the given geoms
 	do collide and creates contact joints (c_joint) if they do, except if they are connected.
 	"""
-	c_joint_bounce = 0.2
-	c_joint_mu = 50 # 0-5 = very slippery, 50-500 = normal, 5000 = very sticky
+	c_joint_bounce = 0.2 # default: 0.2
+	c_joint_mu = 500 # default: 500. 0-5 = very slippery, 50-500 = normal, 5000 = very sticky
 
 	if (ode.areConnected(geom1.getBody(), geom2.getBody())):
 		return