How build a boat collision system is done?

Hi, today i played build a boat, and i found that the collision system used to detect if boat hits rock or not is interesting, i’m asking you to help me find how is it done and optimized, give me some ideas how can i recreate it (i’m making a game inspired by build a boat focused on exploration more than building) thx for help

it’s probably a touched event or something (most likely on the rocks)
on rock touch > if boat item, do dmg to boat & rock until boat or rock is dead or not touching anymore

1 Like