CollisionHitEvent
此内容尚不支持你的语言。
Defined in: physics/PhysicsTypes.ts:60
A high-speed impact (approach speed past the world’s hit threshold).
Properties
Section titled “Properties”approachSpeed
Section titled “approachSpeed”approachSpeed:
number
Defined in: physics/PhysicsTypes.ts:68
Approach speed (world units/s) — impact strength for gameplay reactions.
entityA
Section titled “entityA”entityA:
number
Defined in: physics/PhysicsTypes.ts:61
entityB
Section titled “entityB”entityB:
number
Defined in: physics/PhysicsTypes.ts:62
normalX
Section titled “normalX”normalX:
number
Defined in: physics/PhysicsTypes.ts:65
normalY
Section titled “normalY”normalY:
number
Defined in: physics/PhysicsTypes.ts:66
pointX
Section titled “pointX”pointX:
number
Defined in: physics/PhysicsTypes.ts:63
pointY
Section titled “pointY”pointY:
number
Defined in: physics/PhysicsTypes.ts:64