Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Touchscreen input - move camera/object along the spline
#1
Before purchasing Curvy I want to ask if it`s possible to implement a feature I need, or maybe it`s already possible, by using your asset, to do what I need. What exactly I want to do? I need to move the camera, or an object in the scene along a spline/bezier curve/path by using finger gestures. The camera/object needs to move up and down along the spline, not based on a time line, but moving according to finger swipe (or click&mouse move on desktop) fro,m left to right or the other way around, from right to left depending on the swipe direction. I`m not sure if this can already be done inside Curvy, or it can be implemented, or it needs integration with another Unity asset, like InControl, Easy Touch or Finger Gestures. I have to mention that my main target platform is windows desktop, but I would love to have this working for any kind of touch screens too, mobile or not.
Also, I have to mention that I have no scripting knowledge, and a no scripting solution will be great, or using Playmaker actions will do too.
Thank you in advance for your time and answer.
Reply
#2
Doing this will require a bit of scripting, I guess. You may get along with Curvy's PlayMaker actions as well, but in the end the FSM setup will be much more complicated than a few lines of code. But that's just my personal opinion.

I don't have much experience with finger gestures and the corresponding frameworks, but it looks like a two-step task: create the spline based on the swipe and then move an object along that spline. Both is possible with custom actions and builtin controllers, but I guess you would have to mess around with arrays in PlayMaker then etc...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Filling a closed spline dynamically rickgplus 1 73 04-16-2025, 08:56 AM
Last Post: _Aka_
  Morph game object along curve. mikechr2000 5 487 02-04-2025, 09:30 PM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 200 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 739 01-20-2025, 12:25 PM
Last Post: _Aka_

Forum Jump: