Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Animation effects all instances - help!

$
0
0
Hy guys!

I have a door which has some animations (open, close) and i made the door as a prefab.
A script will trigger the animation, if a character is pressing 'E' close to it. It works fine, but if i instance more doors and put the same script on it, all doors playing the animation if just one door is triggered.

It also not work if i break the prefab instance. I just got one workaround: multiple prefabs with the same door (multiple equal fbx file in assets (door1.fbx,door2.fbx,door3.fbx,..)...

Animation effects all instances - help!

Viewing all articles
Browse latest Browse all 1466670

Trending Articles