Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411430 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 20, 2024, 12:56:57 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Weird blendtree behaviour in Unity
Pages: [1]
Print
Author Topic: Weird blendtree behaviour in Unity  (Read 527 times)
TitoOliveira
Level 2
**



View Profile WWW
« on: November 26, 2016, 01:51:28 PM »

A gif is better than a thousand words

I'll just explain the gif a little here. I have a blendtree with 8 animations, one for each direction the character will face in the game.
Then i show two of the animations in the blendtree that are exactly the same and have the same length. All this animation does is rotate the sprite 360 degrees.
Then i play one of these animations and you can see the sprite rotating and taking 10 seconds to do the complete turn. But then i show the second animation, wich should take 10 seconds to rotate as well and it takes only 3.
I have no idea what is happening that one of the animations is playing super fast .


edit:
alright, took me hours to figure out how stupid i am. In the blend tree i changed the animation speed field as if it was the blend threshold
« Last Edit: November 26, 2016, 06:15:24 PM by TitoOliveira » Logged


Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic