Hi, i have a sphere rolling on a series of cubes (placed together like a maze). Right now i have an OnCollisionEnter function that plays an impact sound when the ball collides with the cubes. However, I only want the sound to play when the ball impacts the blocks, not when it simply rolls to the next one. Technically it is an “impact” but visually it’s just rolling on a flat surface.
So in a nutshell, i want the sound to play when the ball falls and hits a block, but not when it just rolls from one block to the next.
Are there any built in properties/methods that would help me? or does anyone have any scripting ideas?
any help is much appreciated!