1. German Larrain
  2. ars


German Larrain  committed 211ebdc

Simulation.add_floor: replaced usage of 'physics.adapters.OdeEngine.create_plane_geom'
with 'collision.adapters.Plane'.

  • Participants
  • Parent commits b6fc231
  • Branches dev

Comments (0)

Files changed (1)

File ars/model/simulator/__init__.py

View file
  • Ignore whitespace
 		later (space object has a reference to it)"""
 		# FIXME: the relation between ODE's definition of plane and the center
 		# 	of the box
-		self._floor_geom = self.phs_engine.create_plane_geom(self._space,
-			normal, dist)
+		self._floor_geom = coll.Plane(self._space, normal, dist)
 		# TODO: use normal parameter for orientation
 		gFloor = gp.Box(box_size, box_center)