Commits

German Larrain committed 85a8c9e

collision.adapters.Engine: removed method remaining from old implementation 'process_ray_collision'.

Comments (0)

Files changed (1)

ars/model/collision/adapters.py

 				print("Ray's encapsulating object's last_contact"
 				      "attribute could not be set")
 
-	@classmethod
-	def process_ray_collision(cls, ray, other_geom, contact):
-		# pos: intersection position
-		# depth: distance
-		(pos, normal, depth, geom1, geom2) = contact.getContactGeomParams()
-		ray_contact = base.RayContactData(
-			ray, other_geom, pos, normal, depth)
-		try:
-			ray.outer_object.set_last_contact(ray_contact)
-		except AttributeError:
-			print("`ray` has no attribute `outer_object` ")
-		except Exception:
-			print("Ray's encapsulating object's last_contact attribute could not be set")
-
 
 class Space(base.Space):