Need some info about attachment. - 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: Need some info about attachment. (
/showthread.php?tid=625995)
Need some info about attachment. -
Learn - 09.01.2017
I know how to use attachment but I dont know how to take the best position to the object, I want for example to put pizza on the hands, how to take the coords for this? thanks to helpers!
Re: Need some info about attachment. -
Lordzy - 09.01.2017
This is going to be quite difficult because you'll have to find these offsets manually to get the best results. SetPlayerAttachedObject by default contains what part of bone is to be attached with, but it'll still require offsets mentioned to get it look perfect. I can suggest you to get off sets by editing object and placing them to the offset you want. It can vary for different skins. I haven't been much into attaching objects, but I think I should try it more and possibly find a way to do things easier.