Table of Contents

Physics

(NOTE) A bi-directional graph edge between a collider and a contact. Exposes some internals to Contact which currently can't be exposed.

Methods Properties Base Classes Derived Classes
Constructor ContactPointCount BaseConstraintGraphEdgePhysics::Contact,Physics::ContactEdge
ContactPoints
FirstPoint
IsGhost
Object
OtherObject

Properties


ContactPointCount : integer

read-only

How many points of contact were in this collision.

var ContactPointCount : Integer

ContactPoints : contactpointrange

read-only

Returns a range of all contact points in the collision.

var ContactPoints : ContactPointRange

FirstPoint : contactpoint

read-only

Convenience function to return the first ContactPoint. Some logic only cares about one point of information. In a more general case all points should be iterated over.

var FirstPoint : ContactPoint

IsGhost : boolean

read-only

Was this a ghost collision?

var IsGhost : Boolean

Object : cog

read-only

var Object : Cog

OtherObject : cog

read-only

var OtherObject : Cog

Methods


ContactGraphEdge : Void

constructor

Name Type Description
function ContactGraphEdge()

ContactGraphEdge : Void

constructor

Name Type Description
contactgraphedge
function ContactGraphEdge( : ContactGraphEdge)