Playmaker Forum

Playmaker Help & Tips => Android Help => Topic started by: shinodan on March 31, 2012, 01:24:58 PM

Title: GUItexture touch as a button
Post by: shinodan on March 31, 2012, 01:24:58 PM
I tried making my char a rigid-body and using the add force action when the gui button is touched but i cant actually get any signs of movement, although im happy im getting a touch response now.
can anyone help? pulling my hair out. :(
Title: Re: GUItexture touch as a button
Post by: jeanfabre on March 31, 2012, 03:04:04 PM
Hi,

 Are you applying your force long enough? if you just apply a force once, you are likely not going to move your object at all.  try to make it so that you apply the force as long as the touch is active and stop when the user release the touch ( If that's not how it actually works already in your fsm).


 Bye,

 Jean
Title: Re: GUItexture touch as a button
Post by: shinodan on April 01, 2012, 08:47:35 AM
How can i use a guitexture with controller simple move on it to move my char?

i have a state machine for touch down and touch release on the guitexture on touch down i have simple move 5 on the x axis, i have the char selected and the char has a motor and controller....