Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Digital Adam on September 23, 2016, 03:00:26 PM

Title: Help with slider float control
Post by: Digital Adam 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.
Title: Re: Help with slider float control
Post by: cwmanley 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
Title: Re: Help with slider float control
Post by: terri on September 26, 2016, 06:52:13 AM
try the action Float Remap