playMaker

Author Topic: Rubber band / strechy..."thing"  (Read 2508 times)

zombie_farm

  • Playmaker Newbie
  • *
  • Posts: 39
Rubber band / strechy..."thing"
« on: June 08, 2012, 01:01:55 AM »
 I have a frog that I want to catch flys when the player touches the screen (iOs/ mobile) wondering the simplest way to have the tongue stretch from the mouth to the point pressed on the screen.. Any help  would be appreciated!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Rubber band / strechy..."thing"
« Reply #1 on: June 08, 2012, 05:53:16 AM »
Hi,

 one simple way is to have two mesh, the end of the tongue and the body of the tongue. attach the body of the tongue to the end of the tongue, animate the end of the tongue, and scale the body on the stretch axisfor the other side to stay put inside the frog's mouth.

I use this technic for simple ropes, on a crane for example, I have a one unit rope that a stretch, the down side is that if you have a texture it will stretch, but in your case, since it will be a fast animation, I think you are likely able to get away with it.


 bye,

 Jean
 

zombie_farm

  • Playmaker Newbie
  • *
  • Posts: 39
Re: Rubber band / strechy..."thing"
« Reply #2 on: June 08, 2012, 12:52:13 PM »
Great.. I will give that a try.. Thanks!