YOUR ACCOUNT

Login or Register to post new topics or replies
Bobby_t
Posts: 2
Hi there,

I'm looking to create a script (couldn't find a component?) to be able to clamp a range of values.

In below diagram, I've tried to illusrate as best I can, I'm looking to input values on Y and have that map to a value range on X.

For example at Y value of 10 the range in X is locked to 0,5 (mid grey) at top of triangle.

At a range of Y 5, mid grey the x range would be between approx. 0.25 and 0.75

At 0 on Y, the X can be anywhere from white to black, 0 to 1

  Details E-Mail
Bobby_t
Posts: 2
I may of over complicated above issue, worked out a much easy way to do it. smile:?:

I was wanting to limit the amount a shape could move, the bigger the shape would get (y value) the less it could move, offset (x)

  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,720 Registered Users
+9 new in 7 days!

153,546 Posts
+6 new last day!

15,348 Topics
+71 new in year!

Create an Account

Online Users Last minute:

24 unregistered users.