SA-MP Forums Archive
Object rotations - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object rotations (/showthread.php?tid=445570)



Object rotations - thefatshizms - 21.06.2013

Okay, I've removed some objects within some interiors.. when I restore the objects they go back to the normal positions (with rotation 0.00) and end up like this:

http://puu.sh/3lbDr.jpg

But when I look in the editor, duplicate the objects (having the same rotation)

http://puu.sh/3lc6Z.png

It's 0.00 ... Does anyone know of a solution I could use?


Re: Object rotations - Virtual1ty - 21.06.2013

The one I used was the "old-skool" one, look at original rotations in the editor, calculate them in the head, write them down.. and apply them to new objects. I guess it kinda gets messy after thousands of objects. Hope someone has a better way of dealing with this problem.


Re: Object rotations - thefatshizms - 21.06.2013

http://puu.sh/3lc6Z.png <- original rotations.. 0.00


Re: Object rotations - Virtual1ty - 21.06.2013

Yes, well, maybe my last post was kinda misleading.. I add the same object in the editor and guess it's rotations by examining the default ones, then I copy the default ones xyz coordinates and just add in the rotation, next, I remove the default SA objects and that's it.. Hopefully there's a faster way but that's how I've done it for years...


Re: Object rotations - thefatshizms - 21.06.2013

Ah yes I get you now. I'll probably try this if I find no other way.. Though its gonna take some time with 300+ removed objects.