playMaker

Author Topic: [SOLVED]2 small questions  (Read 1428 times)

Prestonh

  • Playmaker Newbie
  • *
  • Posts: 44
[SOLVED]2 small questions
« 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?
« Last Edit: July 21, 2019, 02:30:57 PM by djaydino »

Thore

  • Sr. Member
  • ****
  • Posts: 480
Re: 2 small questions
« Reply #1 on: July 17, 2019, 05:53:00 AM »
2. Yes, Animator Cross Fade

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: 2 small questions
« Reply #2 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.

Prestonh

  • Playmaker Newbie
  • *
  • Posts: 44
Re: 2 small questions
« Reply #3 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.   

Prestonh

  • Playmaker Newbie
  • *
  • Posts: 44
Re: 2 small questions
« Reply #4 on: July 21, 2019, 03:36:45 AM »
...and i just read up on override animator controllers.... guess that solves that haha

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: 2 small questions
« Reply #5 on: July 21, 2019, 02:30:31 PM »
Hi.
The action should be there :



Maybe it can still be useful somewhere :)

I will set this as Solved.

Prestonh

  • Playmaker Newbie
  • *
  • Posts: 44
Re: [SOLVED]2 small questions
« Reply #6 on: July 22, 2019, 02:55:02 AM »
Right on.  Thats great. Thx