x


Itween for curved orbital movement?

How do you make sure that your object keeps a constant distance from the center of sphere while it moves? So that I can use it to make a character move on a spherical terrain.

more ▼

asked Aug 03 '12 at 12:20 PM

Trithilon gravatar image

Trithilon
39 5 11 12

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

solution 1: check distance in Update() function and fix if you need

solution 2: make object as child to sphere, set distance once and just rotate it

more ▼

answered Aug 04 '12 at 12:56 PM

ScroodgeM gravatar image

ScroodgeM
7.6k 2 6

Hey, thanks... I was looking for a more calculated way. But eventually, used Solution 2 : where I connected the satellite body (via a joint) to an empty game object in the center. And I made that Empty game object "LookAt" the point I want to reach.

Aug 07 '12 at 06:28 AM Trithilon
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1367
x426
x101
x84
x69

asked: Aug 03 '12 at 12:20 PM

Seen: 470 times

Last Updated: Aug 07 '12 at 06:28 AM