[Solved] How Do I Make an Object Stick to a Specific Instance of another Object Even if It Collides with another Object of the Same Kind?


Hello, guys. I know that my question is a bit confusing and may not have been worded properly-I just didn’t know how to describe it.

I’m trying to make a projectile that also has a light source in its position. It works fine most of the time as seen in picture 1. However, when the projectile of the same kind collides with the light of another projectile, it takes that light away. I think it’s probably safe to assume that the other light set its position to the other instance of the projectile as seen in picture 2.

So my question is: how do I make the light stay in the position of the projectile instance where it was first made? How do I prevent the light from sticking to other instances of the projectile?

My codes are in pictures 3 and 4. Thanks in advance! :slight_smile:

Use the Sticker extension.

Position the projectile and light, and then stick the light to the projectile. The extension will ensure it stays with it.

1 Like

Oh. Okay. I will try that. Thank you very much. :slight_smile:

UPDATE: The extension worked. Thanks again. :slight_smile: