echovr_api.disk module

class echovr_api.disk.Disk(position=[0.0, 0.0, 0.0], velocity=[0.0, 0.0, 0.0], bounce_count=0)[source]

Bases: object

Represents the state of the Disk.

Initialized using data directly from the Echo VR API. See the Echo VR API documentation for further details on the attributes associated with this class, and the expected intialization parameters.

Parameters:
  • position (List[float]) – The position of the Disk within the arena
  • velocity (List[float]) – The current velocity of the Disk
  • bounce_count (int) – The number of times the disk has bounced
bounce_count = None

The number of times the disk has bounced

position = None

A Vector3D representing the current position of the disk

velocity = None

A Vector3D representing the current velocity of the disk