14.09.2008, 06:20
Yep, 2 days of trial and error and re-visiting trigonometric functions for the first time since high school!! Now i release it to save you guys do you dont waste 2+ days of coding, and recoding.
In the script the definitions are easy..
At the top of the script youll see a few variables.
-Ox = Origin X Change this to the point you want the shark to circle (X Value only).
-Oy = Origin Y Change this to the point you want the shark to circle (Y Value only).
-Radius How many units on each side of the Origin you want him to circle.
Thats really all that should be changed. If you wanna change the speed of the degree change, set the timer to a higher number, and if you want the shark to swim faster, change the speed in MoveObject. Other than that, have fun!
I was inspired by seeing Crazybobs bull at the farm and this is basically the same thing, just with a shark, and reverse engineering.
Download:
Click!!
Quick Clip of the script:
Click!!
Hope you like it!
In the script the definitions are easy..
At the top of the script youll see a few variables.
-Ox = Origin X Change this to the point you want the shark to circle (X Value only).
-Oy = Origin Y Change this to the point you want the shark to circle (Y Value only).
-Radius How many units on each side of the Origin you want him to circle.
Thats really all that should be changed. If you wanna change the speed of the degree change, set the timer to a higher number, and if you want the shark to swim faster, change the speed in MoveObject. Other than that, have fun!
I was inspired by seeing Crazybobs bull at the farm and this is basically the same thing, just with a shark, and reverse engineering.
Download:
Click!!
Quick Clip of the script:
Click!!
Hope you like it!