ICollisionEvent Class

Module: cc Parent Module: cc

Collision events.

Index

Properties
  • type String Event type of collision.
  • selfCollider Collider3D Collider of its own in collision.
  • otherCollider Collider3D Another collider in the collision.
  • contacts IContactEquation[] Information about all the points of impact in the collision.

Details

Properties

type

Event type of collision.

meta description
Type String
Defined in cocos2d/core/3d/physics/framework/physics-interface.ts:133
selfCollider

Collider of its own in collision.

meta description
Type Collider3D
Defined in cocos2d/core/3d/physics/framework/physics-interface.ts:143
otherCollider

Another collider in the collision.

meta description
Type Collider3D
Defined in cocos2d/core/3d/physics/framework/physics-interface.ts:153
contacts

Information about all the points of impact in the collision.

meta description
Type IContactEquation[]
Defined in cocos2d/core/3d/physics/framework/physics-interface.ts:163

results matching ""

    No results matching ""