Need Help Joystick Control Scheme
JoshKahane
Member Posts: 470
Hi
So using Codemonkey's wonderful Joystick Demo which is on the site and I downloaded I am trying to get a certain dual stick control scheme working but need help.
I want it so that the right stick moves the actor in direction its pointing and also rotate it to the right direction (so it always is pointing forwards).
Then I want the second stick just for the shooting. So when I for example am moving upwards/north with the right stick but can shoot in any direction around me using the left stick. So I don't just shoot forward.
Any help much appreciated, thanks.
If someone could create a modified version of the demo and upload it that would be brilliant, but I know you all have busy lives so its not necessary.
So using Codemonkey's wonderful Joystick Demo which is on the site and I downloaded I am trying to get a certain dual stick control scheme working but need help.
I want it so that the right stick moves the actor in direction its pointing and also rotate it to the right direction (so it always is pointing forwards).
Then I want the second stick just for the shooting. So when I for example am moving upwards/north with the right stick but can shoot in any direction around me using the left stick. So I don't just shoot forward.
Any help much appreciated, thanks.
If someone could create a modified version of the demo and upload it that would be brilliant, but I know you all have busy lives so its not necessary.
Comments
In the circle beachball like actor, change the Constrain Attribute behavior that is constraining self.Rotation to game.Angle2, to game.Angle.
In the Spawn Actor that spawn the projectile in that beachball actor, change the direction to the expression, game.Angle2 - 90, relative to scene.
I don't want the shooting direction to change depending on the direction of the player. I want it to be independent in a way. As currently if my player changes direction the projectile shoots off in the wrong direction.