Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OB1st

The SDK dolphin example

This topic is 5912 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello The SDK dolphin is a tweening and basic shaders. My question is how did the author synchronize the constants such that the dolphin has his head always in the front. The logical solotion is to equate the time it takes to rotate the dolphin in his own axix to the time it takes for the dolphing to make a world trip and arrive back at his initial coordinates. However I still could not extract from the different constants which constant does what. I want to use the constants specefic for this example and apply the Newtonian laws to those specific constants(and variables) Any hint will be appreciated. If love is illusion and hate is real, I would rather be crazy

Share this post


Link to post
Share on other sites
Advertisement
I admit the question is not clear

Time = distance/ spead.
We have two time variables, for the dolphin example, t1, and t2
t1 is the time it takes for the dolphin to make one rotation arround his own access.
t2 is the time it takes for the dolphin to dive to the left of the screen in a circle and return to the same point from the right side side of the screen.

The only case(in my opinion) for the dolphin to stay oriented correctly while diving such that his head is front, and tail is back is if t1 = t2

If any one is interrested to discuss this further, please post your reply wether you agree with the assumption or wether you do not, then we carry it a step at atime.

My best regards



If love is illusion and hate is real, I would rather be crazy

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!