playMaker

Author Topic: Help to find a tutorial: UGUI Slider to control a blendtree [SOLVED]  (Read 64 times)

XavPlay

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Hello to you all!

I'm Xavier, a french Playmaker user. Is someone in the forum who can share me a link to a tutorial, give me an hint on how I can control the blend amount in a blendtree with a UGUI Slider. I tried lot of solutions, but strangely, it's like the Slider isn't able to update the value of the blendtree.

All the best to everyone. I'm impatient to read your comments.
Xavier
« Last Edit: November 15, 2017, 02:01:01 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2254
    • View Profile
    • jinxtergames
Re: Help to find a tutorial: UGUI Slider to control a blendtree
« Reply #1 on: November 13, 2017, 04:27:52 PM »
Hi,
Do you have the ugui action : Ugui Slider Get Value?

If not you need to get 'Ugui proxy full' from the Ecosystem

Also be sure to set 'every frame'.

Then use "Set Animator Float" to set the value for your blend, also set this to 'every frame'

XavPlay

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help to find a tutorial: UGUI Slider to control a blendtree
« Reply #2 on: November 14, 2017, 10:05:59 AM »
Hi djaydino

Thanks, I'll try again this way. I feel confident I did this way, but it seemed that the float linked to the blendtree was not found / updated as I was testing the slider.

Thanks,
Xavier

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2254
    • View Profile
    • jinxtergames
Re: Help to find a tutorial: UGUI Slider to control a blendtree
« Reply #3 on: November 14, 2017, 02:23:13 PM »
Hi,
I tested it before i wrote to you, it should work.

Can you show your fsm/states/actions and the animator (video or images)

XavPlay

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help to find a tutorial: UGUI Slider to control a blendtree
« Reply #4 on: November 15, 2017, 01:36:57 AM »
Hi djaydino,

Thanks, it works now. In fact, I believed that I put the fsm states in the wrong object, even if I made link to the object. Everything is working fine now.

Thank you very much.
Xavier