locked
Getting info from EntityContactNotification RRS feed

  • Question

  • I have subscribed for Contact Notifications so that I will be aware whenever the robot runs into something in its environment. This seems to be working fine.  Is there a way to determine which entity the robot collided with in the environment based on the EntityContactNotification that is passed to the handler?

     

    Thanks,

    Kathy

    Wednesday, June 13, 2007 2:04 PM

Answers

  • Surprisingly, we don't include information about the object that was hit in the notification.  We will probably add this in the future.  In the meantime, you can subscribe for contacts on all entities that have the potential of colliding.  Each entity involved in the collision will get a notification.

     

    -Kyle

     

    Monday, July 16, 2007 11:54 PM