Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow/Align while Orbiting Another GameObject #55

Open
TCMOREIRA opened this issue Jan 3, 2017 · 0 comments
Open

Follow/Align while Orbiting Another GameObject #55

TCMOREIRA opened this issue Jan 3, 2017 · 0 comments

Comments

@TCMOREIRA
Copy link

Introduction:
First of all: Thank you so much for UnitySteer! It is great!

I'm working on a 2D Physics-based game with zero gravity (in space);
My game will use Steering Behaviours heavily!

Context:
In my game you control Ships by touching on a Tablet;
You touch and then the Ships follow your finger.
I have such behaviour working just fine.

Issue:
However, there's a Ship which Orbits around another GameObject with Input;
I have the Orbiting behavior working just fine;
However I only know how to make such behaviour by using key presses
(To tell the Ship to go Clock-Wise or Counter-Clockwise);

The Player should be able to touch, and have the Ship Orbit around another GameObject
trying to Steer to Follow and/or Allign with your Finger; Without breaking from her Orbit pattern;

image

image

image

The Ship will always try to Align as much as possible with your finger:
image

Or Arrive at/Follow the Location of your finger:
image

Can you Please Help Me?
How one achieves such complicated steering behaviour using UnitySteer?!

Thank you so much for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant