AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   tracking rockets (https://forums.alliedmods.net/showthread.php?t=312384)

CrazY. 11-30-2018 11:53

tracking rockets
 
Hello, I'm trying to develop a rocket that follow enemy. I did my own method calculating velocity direction between rocket origin and enemy origin (as this) and also based in half-life rpg, but both methods looks weird.

Instead of a "tween rotation", the rocket is being launched in the exactly direction to enemy, which make the follow weird.

Any idea?


All times are GMT -4. The time now is 07:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.