Interpolate Y position + obstacle...

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hi!

I need help on the interpolate behavior...
I have an actor that i'm interpolating his Y position (green actor on the picture)

I interpolate it from Y=100 to Y=500 and from Y=500 to Y=100 (red point in the first picture)

I need to change this Y target if i have an obstacle (like the rose actor), so in my example (picture 2) my green actor don't have to reach the Y=500 but have to go down again to the Y=100...
Don't know if you understand me lol...

The green and rose actor collide itself. and the rose actor collide with the black walls...
I don't want my Rose actor to pass through the black wall, do you know what i mean?

Hard to explain it :S

Thanks for any help on that issue! ;)

Cheers Sebby

image

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    Hi Mister T!

    thanks ;)
    But i forgot to say something important lol...

    My green block can push the rose block to the up!
    So, the green block have to go back only if he touch the rose block + if the rose block touch the black wall...

    thanks for helping me ;)
  • sebmacflysebmacfly Member Posts: 1,018
    Hi Tshirtbooth,

    Do you understand what i need?

    thanks man ;)
Sign In or Register to comment.