reusable 3d objects

Godot Version

`godot 4.4.1 stable

Question

I am trying to implement TNT crates, similar to the ones in Crash Bandicoot, into my game. However, my game is rendered in 3D, so I can’t just use sprites for the crate.

I need the crate to activate and count down when hit, so I added a mesh to the TNT scene and used an animated texture on the material for the countdown.

The problem is that when I activate one TNT box, all other TNT boxes in the scene also activate. How can I make it so that only the TNT crate I hit plays the activation animation?

I believe the AnimatedTexture resource is shared. Go to your instance, and on the Material, click on “Make Unique”

i have done that already but the result was the exact same

“Local to Scene” is the property that makes a resource instantiate uniquely, “Make Unique” is more for the editor to create new resources, which will still be shared among instances.

You may have to show your TNT scene tree and more information about your resources.

1 Like

it works. Thanks