hi, i’m kind of stuck on one of my project. i would like to do a script that allows my object to sink when an object is drop on to another object using collider. does anyone have any examples that can share with me??
Use that to check whether it gets hit. You can reference the game object using “this” or the collider which you can convert to a game object by doing namehere.gameObject.
So if some object collides with your object, sink.