- Home /
How to play animation at current position?
When you create a anim inside unity in a random spot, it saves the spot and if i want to create an other gameobject with the same anim it moves and plays the animation at the first position. Is there anyway to fix this?
Beocuse i have a script that instantiate (builds) a trap and if i step on it it will play an animation and take damage from me. (i instantiate it infront of me). And thats the problem, i want to be able to spawn this trap anywhere on the map, but when ever i walk into the trap it just resets it's position! Please Help
~carlqwe
Answer by carlqwe · May 17, 2015 at 02:52 PM
Never mind! Just removed the position of the parent in the animation clip, and then it worked!
Your answer
Follow this Question
Related Questions
Create Player From Values [ Photon ] 0 Answers
Can I make animations snap to a frame? 1 Answer
Animation moving to pos (0,0,0) and rescaling 0 Answers
Walk/run animation moves main camera up and down (first person) 1 Answer
My child move with the parent but can't move on it when the parent is moving 3 Answers