I am now making a dolphin swim in the 3D world by OpenGL, I am now able to transform the model to any position in the world. However, the dolphin doesn’t look like swimming across the sea, it just like sliding in the sea.
Therefore, how can I make the model swims in the “wave” form? If you can, please teach me with some examples or tutorials.
you can do that on every other plane too, not only for the height, hope it helps
EDIT:
oh i forgot
x is the current way you have already passed, normally it’s a variable you count upwards, y will give you the height of the sine-wave at position x (oh, that sounds so newbish)
[This message has been edited by MofuX (edited 12-25-2002).]