Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / walking on a sphere

Author
Message
The sphynx
16
Years of Service
User Offline
Joined: 8th Apr 2008
Location:
Posted: 10th Apr 2008 19:06 Edited at: 11th Apr 2008 19:05
i'm going with the simple 'rotate the planet under the character's feet' idea
i yrotate the sphere and the character "turns", but only at the poles, around the center of the sphere it just spins sideways under my feet.
i'm thinking i need to make the y axis stay still somehow, but have no idea how to do that.

help?

-RC




Edit-

here is what i have so far
Mr Tank
22
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 11th Apr 2008 14:20
I'd centre the player at the middle of the world, offset it upwards using offset limb 0, and then you can pitch, turn or whatever the player. This way you can add in extra moving things on your world without too much fuss too.

SUPER BADASS SPACESHIP X: WEBSITE
FORUM TOPIC
The sphynx
16
Years of Service
User Offline
Joined: 8th Apr 2008
Location:
Posted: 11th Apr 2008 18:57
thanks, that sounds simpler, but i don't know how to go about doing that either.

do you know of any good tutorials?
The Air Pump
16
Years of Service
User Offline
Joined: 12th Apr 2008
Location:
Posted: 16th Apr 2008 01:50
You'll need to use sine and cosine. Sine and cosine basically allow you to find the Y and X coordinate, respectively, of a point on a circle with a radius of 1. The argument in the sine and cosine functions (the parentheses) is the angle at which you are drawing a line from the radius of said imaginary circle.

Multiplying the sine or cosine will also give you ellipses or bigger circles.

I'm not walking you through this step by step, but I hope this gives you an idea of where to start.
The sphynx
16
Years of Service
User Offline
Joined: 8th Apr 2008
Location:
Posted: 16th Apr 2008 18:30
thanks, at least now i know what to look for

Login to post a reply

Server time is: 2024-11-25 20:24:23
Your offset time is: 2024-11-25 20:24:23