SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 14/02/2019, 12:19 AM   #31
Nero_3D
High-roller
 
Nero_3D's Avatar
 
Join Date: Jun 2007
Location: Germany
Posts: 2,831
Reputation: 668
Default Re: Need help with spatial geometry

Quote:
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
Old 14/02/2019, 09:24 AM   #32
Lunoxx
Big Clucker
 
Join Date: Feb 2015
Posts: 53
Reputation: 0
Default Re: Need help with spatial geometry

Quote:
Originally Posted by Nero_3D View Post
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
This is what i want to do:
https://y-o-u-tu.be/oOVp9leMoNc (delete "-")
__________________
Skype: alin.m99
Discord: lunoxx#1155
FB Page: f.a.c.e.book.com/pawnscripts
Lunoxx is offline   Reply With Quote
Old 16/02/2019, 05:22 PM   #33
Lunoxx
Big Clucker
 
Join Date: Feb 2015
Posts: 53
Reputation: 0
Default Re: Need help with spatial geometry

another sugestion?
__________________
Skype: alin.m99
Discord: lunoxx#1155
FB Page: f.a.c.e.book.com/pawnscripts
Lunoxx is offline   Reply With Quote
Old 19/02/2019, 08:20 AM   #34
Lunoxx
Big Clucker
 
Join Date: Feb 2015
Posts: 53
Reputation: 0
Default Re: Need help with spatial geometry

Bump again
__________________
Skype: alin.m99
Discord: lunoxx#1155
FB Page: f.a.c.e.book.com/pawnscripts
Lunoxx is offline   Reply With Quote
Reply

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 12:46 PM


All times are GMT. The time now is 09:24 PM.


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