Skip to content
On this page

Class: Collision ​

WebSG.Collision

Table of contents ​

Constructors ​

Properties ​

Constructors ​

constructor ​

• new Collision()

Properties ​

nodeA ​

• nodeA: Node

The first node involved in the collision.

Defined in ​

websg.d.ts:935


nodeB ​

• nodeB: Node

The second node involved in the collision.

Defined in ​

websg.d.ts:939


started ​

• started: boolean

Whether the collision started or ended this frame.

Defined in ​

websg.d.ts:943