Constrain With Smoothness

creativeappscreativeapps Member Posts: 1,770
edited September 2012 in Working with GS (Mac)
In Game my actor moving horizontally 300 pixels up and 300 pixels down. On tap I want to stop that actor moving and on 2nd tap I want to start moving that actor. How do I do that. For movement I used interpolate.

Comments

  • creativeappscreativeapps Member Posts: 1,770
    @P-O-M May be you can help me out of this. Thanks
  • creativeappscreativeapps Member Posts: 1,770
    edited September 2012
    I did on tap start stop with the help of @MotherHoose thanks for that.

    My actor "A" is moving up and down and on tap its start and stop but when another actor "B" is constrain with actor "A" its showing jerk. I want to do smooth constrain like we use interpolate easy in/out. How to do that?


    I do not want to use constrain attribute how to do that with interpolate?

    Thanks
  • creativeappscreativeapps Member Posts: 1,770
    edited September 2012
    Here is the video you can see jerk once actor white collide with actor blue. Its suddenly came into white center. I want to do that with smoothness

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    That is the lag when linked to an external attribute which is why I constrain directly in scene.
  • creativeappscreativeapps Member Posts: 1,770
    @FryingBaconStudios Is that possible to move both actor to gather with interpolate and remove constrain?
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Yes you unlock the actor and link directly via scene attributes.
  • creativeappscreativeapps Member Posts: 1,770
    edited September 2012
    @FryingBaconStudios in that case its not moving with white actor with constrain it works. adding video.
    You can see in this video its collide very smoothly but blue actor not moving with white actor.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited September 2012
    Do you know how to do direct constrain? I use it exclusively and it works every time. Show your code I don't care about seeing it perform. Check your rule to be sure it stays actively locked to it.
  • creativeappscreativeapps Member Posts: 1,770
    @FryingBaconStudios Yes I used change scene, layer, actor, position y and it improved.

    Still its not coming in center and moving right to center.

    Thanks

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited September 2012
    Not quite sure exactly what you would like to happen but scene linkin removes the lag an wobble when linking actors.
  • creativeappscreativeapps Member Posts: 1,770
    @FryingBaconStudios Thanks for your help
Sign In or Register to comment.