help with interpolate

hi every one
i want help with interpolate......Ex:- when actor hit another it will interpolate otherwise it wont

my problem is when it hits it interpolate in the first time but in the second hit it wont interpolate

if any one can help me if there any way to reset interpolate or something ???? plz help

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    What are you interpolating to ?
  • prince.studiosprince.studios Member Posts: 77
    edited January 2013
    im interpolating color.alpha
  • famekraftsfamekrafts Member, BASIC Posts: 834
    When interpolating color values will be 0 to 1 and not 0 to 255 or some other. When you resetting the scene check whether value turns back to 1.

  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    To what value ? From what value ?

  • prince.studiosprince.studios Member Posts: 77
    color.alpha to -9
    for 10 seconds
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    No, there is no interpolation reset.

    You need to return the values you interpolated back to their original settings if you want the same interpolation to run again, you can interpolate them back or simply change attribute.
  • prince.studiosprince.studios Member Posts: 77
    yes it can theres a video

  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    color.alpha to -9
    for 10 seconds
    There is no alpha -9 (the range is 0 to 1).

  • prince.studiosprince.studios Member Posts: 77
    but -9 is like 0 trust me i tried it
  • prince.studiosprince.studios Member Posts: 77
    oky man i dont want to have an agreement between us just i want to ask one thing can i rest an interpolate behavior
  • SocksSocks London, UK.Member Posts: 12,822
    but -9 is like 0 trust me i tried it
    Yes, it means the alpha channel is 0.

    When you are reducing the value of the alpha channel nothing exists passed 0.
    Once you have gone passed 0 - at which point the actor is invisible - the actor doesn't continue to become 'more invisible'.

    You can enter -5 or -9 or -1,000,000 and all it will do is make the alpha channel 0 as there is no such thing as a negative alpha value.
  • prince.studiosprince.studios Member Posts: 77
    oh but is there a way to reset an interpolate behavior
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    oky man i dont want to have an agreement between us just i want to ask one thing can i rest an interpolate behavior
    No one is having a disagreement here ? I was just pointing out that an alpha value of -9 is non-existant.

    just i want to ask one thing can i rest an interpolate behavior

    I've already answered this for you . . .
    No, there is no interpolation reset.

    You need to return the values you interpolated back to their original settings if you want the same interpolation to run again, you can interpolate them back or simply change attribute.
  • prince.studiosprince.studios Member Posts: 77
    edited January 2013
    thanks alot ive tried it and it look that im so stupid :)) thanks alot man sorry becuase i dont understand very fast :D
  • SocksSocks London, UK.Member Posts: 12,822
    oh but is there a way to reset an interpolate behavior
    Change attribute self.color.alpha to 1.



  • prince.studiosprince.studios Member Posts: 77
    thanks alot it worked
Sign In or Register to comment.