Hi.
I been trying to solve a problem which istaking me a long time.
I have a gameobject named “bullet”. My gameObjects “enemy” and “Player” instantiate it. But in event OnTriggerEnter, the bullet indentify that: if the enemy shoot, the bullet is instantiated, but in the same time activate the collider.
So, whats the point? How to say to my instantiated object, before or after instantiated it idk… the owner is who instantiated it? I can solve many problems if i know how to do this.
Instantiate(bullet, socketBullet.position, socketBullet.rotation)
Best regards.