View Single Post
  #8  
Old 03-14-2005, 03:17 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Polo
As an alternative to the (very correct and very good) force based method Kai is suggesting, we can create 'pretty much' the same effect in a different way
Well, trigonometry works, but it's less efficient and actually more complicated, so I'm not sure if it's advisable. Plus, if you wanted to incorporate other forces (like if the player is trying to move) or produce non-circular orbits, you'd need to maintain independent velocities anyway.

But I guess it's about what's most comfortable and familiar to the scripter, and examining multiple approaches is a good exercise.
__________________
Reply With Quote