06.08.2016, 19:37
I have searched before for this in ******. Searched even for formulas that could be used in pawn. But had no luck and found nothing. What I am trying to do is getting the relative position of an object depending on another one. Lets say, an object is created at OnGameModeInit. Then an admin creates another object near the first created object. After the second object is created it's coordinates and rotation are saved. After that is done, we change the coordinates and rotation of the first object that is created in OnGameModeInit. We compile it and launch the server. Then an admin creates the second object by writing the command, but now the second object would not be created where it was created during the first server run but relative to the first created object.
When it comes to more complex math equations I am lost. Any links to helpful articles would be appreciated.
When it comes to more complex math equations I am lost. Any links to helpful articles would be appreciated.