playMaker

Author Topic: Help with slider float control  (Read 1726 times)

Adam Z

  • Full Member
  • ***
  • Posts: 207
Help with slider float control
« on: September 23, 2016, 03:00:26 PM »
I have a slider that controls a morph target. I would like to move an object on the x-axis from 0 to 0.078 using the same slider, so when the slider is at 100 the object is at 0.078.

I used a Float Lerp, then a Float Divide by 1257, every frame for both. Then used that float to move the position of the object along the x-axis, every frame.

Any thoughts on how else to do this? Thanks.
« Last Edit: September 23, 2016, 03:10:03 PM by Adam Z »

cwmanley

  • Full Member
  • ***
  • Posts: 107
Re: Help with slider float control
« Reply #1 on: September 26, 2016, 06:23:00 AM »
Hi,

What is the Lerp for?

OnSliderChanged should work instead on everyframe.

Sorry if I am missing something.

Thanks

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Help with slider float control
« Reply #2 on: September 26, 2016, 06:52:13 AM »
try the action Float Remap