MCPcopy Create free account
hub / github.com/galacean/engine / onCollisionEnter

Method onCollisionEnter

packages/core/src/Script.ts:105–105  ·  view source on GitHub ↗

* Called when the collision enter. * @param other - The Collision data associated with this collision event * @remarks The Collision data will be invalid after this call, you should copy the data if needed.

(other: Collision)

Source from the content-addressed store, hash-verified

103 * @remarks The Collision data will be invalid after this call, you should copy the data if needed.
104 */
105 onCollisionEnter(other: Collision): void {}
106
107 /**
108 * Called when the collision exit.

Callers 1

PhysicsSceneClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected