The O.G. Virtual learning! Buy one, get 2 more Lifetime Memberships! - Click Here!

Bend and object when touched

Home 4 Forums Swift and Sprite Kit Bend and object when touched

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Justin 2 years, 11 months ago.

  • December 27, 2017 at 8:07 pm #177734

    I’m trying to touch an object and bend it when touched and dragged. For example, I have a tree and want to touch the top and drag it to the left (the tree will bend from the top) and when lifting finger it flings back (with a little wiggle at the top) when back in place.

    Thanks.

  • December 28, 2017 at 12:05 pm #177745

    Thats pretty easy if you’ve got a sequence of images for the tree bending over. If you’re looking to do some kind of image transformation on a single image, thats probably possible (though I don’t know the code for it).

    I think you’re better off using the image sequence just because that’ll give you exactly the look you want.

You must be logged in to reply to this topic.




Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!


Uh oh, missing your affiliate ID. Create one real quick