[SOLVED] Deep copy does not move the trigger volume with cloned entity

Link to my project
Here are the necessary scripts (it’s itemSpin.js and spawnerManager.js)

I want items to spawn (in this case, it’s a health pack) regularly. Each health pack has its own trigger volume. My problem is that the trigger volume is not moved together with the cloned entity.

Thanks in advance

Hi @SayHiToMePls! I see you reparent the entity to the entity that’s already the parent. I also see your entity has a rigidbody, so it’s basically not a trigger. Apart from that, I think the problem is that the entity has a static rigidbody. Can you try to make this rigidbody kinematic?

2 Likes

Now it works, thanks :+1:

1 Like