@modoki/engine / index / ContactDetail3D
Interface: ContactDetail3D
Rich contact info fired ONCE when two solid colliders begin touching (the impact moment). point/normal are world-space (arrays: [x,y] in 2D, [x,y,z] in 3D); speed is the relative approach speed along the normal (world units/s) — use it for damage / SFX volume / effects.
Physics
normal
normal: readonly
number[]
point
point: readonly
number[]
speed
speed:
number