Collisions within an object

Is there a way to check a collision between an object outside an object and another object thats in an object?

Yes, there is a way, but it currently only works in the test version of the editor (version 1.19.4).

Here’s how you’d check if clip A is touching clip B that is inside of clip C:

if(A.hits(C.B)){
// enter code here
}

Here’s an example:
My Project3-10-2023_10-59-31.wick (4.5 KB)
image
(works only in test editor)

Let me know if you need more help with this.

2 Likes

Thank you! It works how I wanted it to.

2 Likes