User Tag List

Results 1 to 2 of 2

Thread: Question

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    I would like to know how you can have several objects be evenly spread out between two points, even if the points are changing. I tried to do this with linear interpolation, but it didn't work how I wanted.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: Question

    OK, Lets assume the objects are circles. So each circle has a center point. Start a loop or always condition. You need to define what you mean by spread out, hortizontally, vertitically, or in a linear fashion.

    find the left most object x,y
    find the right most object x,y
    find the distance between them
    find the number of objects
    divide the distance by number of ojects - 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •