#How to check if two nodes are instantiated from the same scene?

2 messages · Page 1 of 1 (latest)

slim haven
#

For context, I am instantiated physics based projectiles that can collide with each other. I don't want them to apply damage in that scenario, but I do want the collision to occur.

fervent idol
#

the root of the scene will have scene_file_path set the file path for that scene. you can also give it a class_name and use that like

class_name CoolBullet

if projectile is CoolBullet: