Hi folks,
Is there any plan to add in some of the input functions like Swipes from UDK to UE4?
I’m going to tinker with Blueprint but if there is a plan to port over more functions that’d be awesome.
All the best
Greg
Hi folks,
Is there any plan to add in some of the input functions like Swipes from UDK to UE4?
I’m going to tinker with Blueprint but if there is a plan to port over more functions that’d be awesome.
All the best
Greg
Swipes are not built in yet, but you can add support in a Blueprint. Here is how I just set it up.
Thank you for that we have also been trying to create a swipe in our games.
Thats brilliant much better than my attempt, i originally uscripted this for my last project so its really nice to see it in Blueprint.
All the best
Greg
Thanks!!! Greate swipe implementation.
Hi, I have done this; post this: (Unreal Engine Developer) Swipes are not built in yet, but you can add support in a Blueprint. Here is how I just set it up.
&d=1396083248but is only registering the down swipe everywhere I move the mouse or touch input.
I’m not exactly sure what you mean, but if you recreated what I did in the shot, it works correctly, I’m using it now.
I have find the bug, it was a wrong variable.
sorry for the time and Thanks!!!
Thanks! can somebody scribble over this explaining what each part does? I’m pretty new to visual scripting and would appreciate the lesson and I’m sure others would too!
Ok Kiyan, I made a new version with more info, how is this?
FYI, I had them raise the image size limitation on images posted to the forums. You can now post images up to 65kx65k resolution, and 5 megs in size.
Thanks , Is there a way to check for a 2 finger swipe? I want to pan my camera(top-down/rts view) using 2 fingers…
Hi Thanks for the post. I have some doubts because i’m a newbie to blueprint
Hi AgentGhost, Yes, TouchStart2DVector and TouchEnd2DVector are both variables of the type Vector2D under Struct.
Yes, after Set, the flow will continue on to whatever you want.
As for only moving while pinching, you should have a variable that is only true when you are pinching. Then, use this variable to determine whether you guy should move or stand still.
Hi !
First of all thanks for what you did in BP ! It’s awesome
I still have probleme reading this image :
I would like to know of which type of variable is the swap direction so you can set right left etc and to what is are they connected after that? To an “add controller pitch & yaw input” ?
Thanks in advance !
Denis
I’m also new to UE and have a couple of follow up questions:
How can I set the swipe direction to left, right, up, down (as you have at the end of your blueprint example)? Is it something that needs to be mapped in Project Settings - Input, and how exactly do you do that?
How do you use the mouse to test the swiping motion? (Is there anything beyond checking ‘Use Mouse for Touch’ in the Input settings?)
Thanks!
I was also struggling with this and finally figured out a fairly nice method. I still have to work easing in, but I thought I would share it with everyone. It involves 2 blueprints: one for swipe controller and one for the ground. In the swipe controller there is also a custom function added. This allows swipe to look tap to move. It seems to work well on android, I didn’t test on ios yet.
This was exactly what I needed! Thanks !
I noticed one small problem though: The node that inverts x-axis (X * -1) causes the view to jump sometimes. I simply moved it like so:
(Note that I also added a clamp angle node)
I know this is an old thread but is there any update on adding swipe features yet?
So the above method’s work but it’s kind of clumsy. In a RTS/Tower Defense game you want to be able to move the camera freely and swipe it all around. The above method only allows for static movement Left/Right/Up/Down. How can I have a free moving/swipe camera? Would it be a better idea to plug/attach the camera to the left virtual joystick…
Anybody? Is there a way to have a free moving camera with swipes instead of the simple up/down/left/right
Hello Guys, so I made a version for diagonal swipes!
I hope you can understand it with the screenshots. :eek:
You can even combine the two (normal swipes and diagonal swipes) for 8 swipe directions!
On request I can also post the way with 8 directions.
- Creey