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

Method onCollisionStay

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

* Called when the collision stay. * @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

117 * @remarks The Collision data will be invalid after this call, you should copy the data if needed.
118 */
119 onCollisionStay(other: Collision): void {}
120
121 /**
122 * Called when the pointer is down while over the ColliderShape.

Callers 1

PhysicsSceneClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected