Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Prestonh on July 16, 2019, 11:25:58 PM

Title: [SOLVED]2 small questions
Post by: Prestonh on July 16, 2019, 11:25:58 PM
1. Ive got work a arounds. By converting floats to bool then multi bool conditions.  But is there any action. That is like a and/or condition?   

2.  Is there any actions that set an animation clip in a animator state?
Title: Re: 2 small questions
Post by: Thore on July 17, 2019, 05:53:00 AM
2. Yes, Animator Cross Fade
Title: Re: 2 small questions
Post by: djaydino on July 17, 2019, 08:25:23 AM
Hi.
1. maybe float compare can help. there is also an action on the Ecosystem called : float Compare With Bools.
Maybe that can help.
Title: Re: 2 small questions
Post by: Prestonh on July 21, 2019, 03:33:12 AM
I havent found a float compare with bools.  Odd. 

Animator crossfade, plays a animation state.   Im looking for to have the state empty.   And dynamically load it.   Example.   A punch animation.   Well if i have a controller set up for it.  Could i dynamically change the punch animation that is in a certain state to a different animation clip, but in the same state.    The idea, is if i can set up a generic animator controller.   And have a fsm that has various animation clips in it as varibles.  Then the fsm loads the animator controller with those varibles.   
Title: Re: 2 small questions
Post by: Prestonh on July 21, 2019, 03:36:45 AM
...and i just read up on override animator controllers.... guess that solves that haha
Title: Re: 2 small questions
Post by: djaydino on July 21, 2019, 02:30:31 PM
Hi.
The action should be there :

(https://i.imgur.com/pnkkwrel.png)

Maybe it can still be useful somewhere :)

I will set this as Solved.
Title: Re: [SOLVED]2 small questions
Post by: Prestonh on July 22, 2019, 02:55:02 AM
Right on.  Thats great. Thx