SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 13/02/2019, 11:19 PM   #30
Nero_3D's Avatar
Join Date: Jun 2007
Location: Germany
Posts: 2,839
Reputation: 671
Default Re: Need help with spatial geometry

Originally Posted by Lunoxx View Post
I have problems only with X, Y position, I think i know how to get the Z coordonate.
What can I find X and Y?
if you got your x and y of your magnet (#27) and x and y of your target you calculate the difference and use it as offset

how the attachment process gets triggered is up to you, maybe Objects Physics
Nero_3D is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pawno Geometry cengiz6155 Scripting Help 26 25/04/2018 11:46 AM

All times are GMT. The time now is 11:33 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.