Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Getting specific Collider that is being hit? #5

Open
cruzlight opened this issue Nov 12, 2022 · 0 comments
Open

Getting specific Collider that is being hit? #5

cruzlight opened this issue Nov 12, 2022 · 0 comments

Comments

@cruzlight
Copy link

Hello how do i get a collider that is being added via childadded? It's cloning an imagelabel every 2 seconds and adding the image to colliders, now i added a hitter which is a bullet. Once a bullet hit the cloned collider, how do i get the collider that's been hit by the bullet?

Objective
Bullet hit
Imagelabel is added to a collider with childadded (because it's being cloned)
Bullet hit's the imagelabel
Get the imagelabel that's been hit by the bullet
Destroy()

How dude? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant