API Reference

Class List

pc.ContactResult

Object holding the result of a contact between two Entities.

Summary

Properties

contacts

An array of ContactPoints with the other entity.

other

The entity that was involved in the contact with this entity.

Details

Constructor

ContactResult(other, contacts)

Create a new ContactResult.

Parameters

otherpc.Entity

The entity that was involved in the contact with this entity.

contactspc.ContactPoint[]

An array of ContactPoints with the other entity.

Properties

pc.ContactPoint[]contacts

An array of ContactPoints with the other entity.

pc.Entityother

The entity that was involved in the contact with this entity.