playMaker

Author Topic: How to create touchpad joystick attached to a gravity-based rigidbody?  (Read 2198 times)

Avascar

  • Playmaker Newbie
  • *
  • Posts: 45
I'm trying to create a touchpad joystick, which add forces to move and controls the rigidbody. Any help?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to create touchpad joystick attached to a gravity-based rigidbody?
« Reply #1 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