playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Animation Update
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Animation Update (Read 1902 times)
Budde88
Full Member
Posts: 165
Animation Update
«
on:
December 20, 2016, 03:24:39 PM »
Hey,
I have an animation with 100 keyframes.
The animation is the liquid inside of a test tube.
I want to control it using a float variable called 'potion'.
So if I add +5 to 'potion' it will animate through keyframe 0-5
and if I add another +20 it will animate through keyframe 6-25
So basically it will play a smooth animation.
I'd just like to know what actions I would need, and which script variable
should I link with the 'potion' variable.
Thanks
Logged
Budde88
Full Member
Posts: 165
Re: Animation Update
«
Reply #1 on:
December 21, 2016, 06:24:31 AM »
Would really appreciate some help with this.
Thanks
Logged
mdotstrange
Hero Member
Posts: 555
Re: Animation Update
«
Reply #2 on:
December 21, 2016, 07:53:17 AM »
You could split the animation into separate clips for the frame ranges- then use the animator actions to play the animations.
Logged
Indie game dev and instructor at the Strange School.
Learn Playmaker at the Strange School!
gozda
Junior Playmaker
Posts: 88
Re: Animation Update
«
Reply #3 on:
December 21, 2016, 04:22:03 PM »
If this adding of potions is defined by you like, add 5,10,15.. not randomly, you can try to use events on animations. If there its randomly you can try to use blend tree in animator.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Animation Update