Link Search Menu Expand Document

arena-py API v1.0.1

arena.attributes.box_collision_listener

class BoxCollisionListener(arena.attributes.attribute.Attribute):

BoxCollisionListener attribute class to manage its properties in the ARENA: Listen for bounding-box collisions with user camera and hands. Must be applied to an object or model with geometric mesh. Collisions are determined by course bounding-box overlaps. Usage: box_collision_listener=BoxCollisionListener(...)

Parameters
  • bool dynamic: Set true for a moving object, which should have its bounding box recalculated regularly to determine proper collision. Defaults to 'False' (optional)
  • bool enabled: Publish detections, set false to disable. Defaults to 'True' (optional)
BoxCollisionListener(**kwargs)