homing algorithm
Does anyone care to share any clues regarding a decently simple yet realistic homing algorithm (2D or 3D)?
2D or 3D vectors are good for homing algorithms. if your object is moving on a vector and is located somewhere relative to the object that it is homing in on, all you would have to do is modify the current vector by some magnitude and direction that the homing object is moving on.
Hope this helps.
-Boblin
Hope this helps.
-Boblin
I use objects that have a aceleration from which their velocity and posistion are calculated every frame. I just have the aceleration point towards the object. With the innital velocity it will curve towards the object.
This can be adjusted so it will circle the target slowly moving in, or jsut curves towards it.
This can be adjusted so it will circle the target slowly moving in, or jsut curves towards it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement