Announcement

Collapse
No announcement yet.

Ultimate Touch Components v2 – swipe, pinch to zoom, virtual joysticks and much more

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    I think you should make a manual. I did not find the videos to be very helpful in using this myself and in particular I had an issue that cost me a couple days of work hunting down the problem. At some point I noticed my project was no longer working on mobile or standalone. In editor and in new editor window everything worked just fine but every time I tried to play in standalone my character class was not working and there were no errors. The game just sat there floating in space. By process of elimination I finally tracked the problem down to your touch components so I set about figuring out why this was the case. I found out it was because my character was based on the Pawn class and not the Character class (it's a simple ball object so I didn't need all the functionality of Character). Again this worked completely fine in the editor, even your touch controls. But for whatever reason it broke when I tried in standalone and I have to say this took many frustrating hours to work out and was just plain mysterious. If you do ever make a manual -- and I don't believe your tutorial videos are a substitute for one -- do put in there the fact that trying to use your components on a Pawn class will cause this issue. Thanks for the components. I'll probably use it in many projects.

    Comment


      #92
      Acrossfy
      Is there a swipe that doesnt require releasing finger? The jump swipe is not really intuitive. Joystick wont stop jumping by axis. You have no air control without joystick not being able to differentiate between x, and y speeds, and positions. You need to add a "hit back" for x, or Y axis for this joystick to be really good with character movement. So it will "Stop Jump, and reset touch pad to center, but not lose forward x axis." The joystick movement is good, but only for certain types of walking/looking movement. It really not good with jumping/climbing, and the swipe component would be great if it was like a scribble. on swipe up, hit back to center to stop jumping, and swipe down, but not release touch.

      Comment


        #93
        I'm working on an AR project using 4.19 and I want to be able to scale, rotate, and move an object in 3D space. I actually have it working right now. However, i want to be able to actually rotate it based on where the two fingers touch the object. I'm pretty sure the pinch component operates in 2D space. For example, to determine how to rotate the object, it is getting the rotation of the angle of my two fingers based on a 2D plane. I would like it do the calculations based on line traces from my fingers to the object.
        Is this something that has been figured out already?

        Thank you,
        Jonas

        Comment


          #94
          Hi Andy ... I just bought your touch projectt .... awesome pack by the way .. I have a question ... This works multitouch ? ... How can I set up multitouch for windows .. I have 2 components on scene (Red cube and green cube) and I want to move each one separately with multitouch ! At this moment I can rotate and pinch each one, but when I try to do it at the same time the cubes do the same and dont have independent movement .... Please helpme, I have a client waiting for this !!! Thank U so much

          Comment


            #95
            Originally posted by Jonas M View Post
            I'm working on an AR project using 4.19 and I want to be able to scale, rotate, and move an object in 3D space. I actually have it working right now. However, i want to be able to actually rotate it based on where the two fingers touch the object. I'm pretty sure the pinch component operates in 2D space. For example, to determine how to rotate the object, it is getting the rotation of the angle of my two fingers based on a 2D plane. I would like it do the calculations based on line traces from my fingers to the object.
            Is this something that has been figured out already?

            Thank you,
            Jonas
            Hi Jonas!

            You can see how to determine object under finger in "Tap & Rotate" example. Open "TapAndRotatePawn" and find "Grab Object" comment section on the event graph. You can use that solution with PinchComponent as well, but you need to take finger locations from PinchComponent using "Get Finger Index and Location By Index" function:

            Click image for larger version

Name:	GetFingerIndexAndLocationByIndex.png
Views:	99
Size:	131.2 KB
ID:	1442710

            Hope this helps!

            Best,
            Andy

            Comment


              #96
              Originally posted by Moebius_CG View Post
              Hi Andy ... I just bought your touch projectt .... awesome pack by the way .. I have a question ... This works multitouch ? ... How can I set up multitouch for windows .. I have 2 components on scene (Red cube and green cube) and I want to move each one separately with multitouch ! At this moment I can rotate and pinch each one, but when I try to do it at the same time the cubes do the same and dont have independent movement .... Please helpme, I have a client waiting for this !!! Thank U so much
              Please clarify - sounds like multitouch works well for you if you can zoom and rotate objects with PinchComponent. Please record and upload the video with this issue.

              Comment


                #97
                Originally posted by Acrossfy View Post

                Please clarify - sounds like multitouch works well for you if you can zoom and rotate objects with PinchComponent. Please record and upload the video with this issue.
                Hello and thank you for your quick answer .. so good ... Here is a video. I have the 2 cubes, red and green ... I want to move them independently at the same time. As if two people were interacting with each cube ... two different hands ... this is for a large touch screen where 2 or 3 people can interact with objects at the same time. But as you can see in the video, when one of the cubes is in motion and the other cube is touched, it adopts the movement of the first cube. .. How can I setup this ? .. I know some things about blueprints but I´m not expert .. Thank U again for your quick answer !
                 
                Last edited by Moebius_GS; 03-13-2018, 11:20 AM.

                Comment


                  #98
                  Originally posted by Moebius_CG View Post
                  Hello and thank you for your quick answer .. so good ... Here is a video. I have the 2 cubes, red and green ... I want to move them independently at the same time. As if two people were interacting with each cube ... two different hands ... this is for a large touch screen where 2 or 3 people can interact with objects at the same time. But as you can see in the video, when one of the cubes is in motion and the other cube is touched, it adopts the movement of the first cube. .. How can I setup this ? .. I know some things about blueprints but I´m not expert .. Thank U again for your quick answer !
                  Thanks for the video. I would like to see your code too. But actually I never expected to use more than one Pinch Component, so I have to check this on my own side as well.

                  Comment


                    #99
                    Originally posted by Acrossfy View Post

                    Thanks for the video. I would like to see your code too. But actually I never expected to use more than one Pinch Component, so I have to check this on my own side as well.

                    Of course yes .. If you want I send you via Mail the project .. Is made on your examples map .. dont change so much .. I just added "On input begin touch" on each cube and set some booleans for the touch work just touching the cubes ... See the code .. Thanks for reply .. is very urgent to me fix this ! If you find the solution or think another solution Please, please let me know !
                    Attached Files

                    Comment


                      Originally posted by Moebius_CG View Post
                      Of course yes .. If you want I send you via Mail the project .. Is made on your examples map .. dont change so much .. I just added "On input begin touch" on each cube and set some booleans for the touch work just touching the cubes ... See the code .. Thanks for reply .. is very urgent to me fix this ! If you find the solution or think another solution Please, please let me know !
                      Ok, now I understand what's wrong. Actually it wasn't planned to use many pinch components in the same area. I couldn't predict such use case. The only possible way to use many pinch components on the same screen is dividing it (screen) by player areas using Bounds (UTC components feature). For example one PinchComponent can use right part of screen and the second will use left part of screen.

                      But if you don't want to define exact parts of screen per players you can try to use this hack (see the screenshot or copy-paste from https://blueprintue.com/blueprint/j8_1-box/):


                      Unfortunately with this code other components will not work until you will update their events manuly like I did with pinch components on this screen. So please try this and let me know how it works.

                      Comment


                        Originally posted by Acrossfy View Post

                        Ok, now I understand what's wrong. Actually it wasn't planned to use many pinch components in the same area. I couldn't predict such use case. The only possible way to use many pinch components on the same screen is dividing it (screen) by player areas using Bounds (UTC components feature). For example one PinchComponent can use right part of screen and the second will use left part of screen.

                        But if you don't want to define exact parts of screen per players you can try to use this hack (see the screenshot or copy-paste from https://blueprintue.com/blueprint/j8_1-box/):


                        Unfortunately with this code other components will not work until you will update their events manuly like I did with pinch components on this screen. So please try this and let me know how it works.
                        Thank u for your answer ... I cant add the cube mesh to the target of event touch ... what Im doing wrong ? Could you tell me please how update the events ?. Thank U
                        Attached Files
                        Last edited by Moebius_GS; 03-14-2018, 08:22 PM.

                        Comment


                          Hello guys, im new here.
                          Im making a simcity-like game on mobile where you can pan the camera and touch an Actor to trigger an Event.
                          How do i make an exception when I want to pan camera not to touch an Actor because whenever I panning the camera and my finger touch (over) an Actor, an Event triggered.
                          Any suggestions?

                          Comment


                            Originally posted by Moebius_CG View Post
                            Thank u for your answer ... I cant add the cube mesh to the target of event touch ... what Im doing wrong ? Could you tell me please how update the events ?. Thank U
                            It shouldn't be cubes or any other objects/components! These functions are functions of UTC Components. See the sign "Target is UTCComponent". Connect your pinch components with these functions as it shown on the screenshot.

                            Comment


                              Originally posted by Wan Amir View Post
                              Hello guys, im new here.
                              Im making a simcity-like game on mobile where you can pan the camera and touch an Actor to trigger an Event.
                              How do i make an exception when I want to pan camera not to touch an Actor because whenever I panning the camera and my finger touch (over) an Actor, an Event triggered.
                              Any suggestions?
                              Do you use UTC? Which components do you use to pan camera and touch objects?

                              Comment


                                Originally posted by Acrossfy View Post

                                Do you use UTC? Which components do you use to pan camera and touch objects?
                                Yes. I use SwipeToMove to panning the camera and for the touch object im using an Event directly from a Static Mesh, On Input Touch Begin/End.

                                Comment

                                Working...
                                X