Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Avascar on October 05, 2013, 12:41:28 AM

Title: How to create touchpad joystick attached to a gravity-based rigidbody?
Post by: Avascar on October 05, 2013, 12:41:28 AM
I'm trying to create a touchpad joystick, which add forces to move and controls the rigidbody. Any help?
Title: Re: How to create touchpad joystick attached to a gravity-based rigidbody?
Post by: jeanfabre on October 07, 2013, 03:26:17 AM
Hi,

 where is your struggle? in creating the pad or controlling the physics gameObject. Cut your problem in small chuncks:

1: create a pad texture and have it react to touch inputs
2: create a object that you can control and add forces to it the way you want
3: bind the pad to the object control.

 Also, have you studied existing examples on touch pads?

http://hutonggames.com/playmakerforum/index.php?topic=2476.0

bye,

 Jean