Class: ContactResult

pc.ContactResult

Object holding the result of a contact between two Entities

Constructor

new ContactResult(other, contacts)

Create a new ContactResult
Parameters:
Name Type Description
other pc.Entity The entity that was involved in the contact with this entity
contacts Array.<pc.ContactPoint> An array of ContactPoints with the other entity
Properties:
Name Type Description
other pc.Entity The entity that was involved in the contact with this entity
contacts Array.<pc.ContactPoint> An array of ContactPoints with the other entity
Source: