SA-MP Forums Pawno Geometry
 New Account Members List Search Today's Posts Mark Forums Read

 23/04/2018, 09:40 AM #1 cengiz6155 Little Clucker   Join Date: Jul 2015 Posts: 44 Reputation: 0 Pawno Geometry Hello, Where can I learn these geometry operations? Code: ```GetVehicleRelativePos(vehicleid, &Float:x, &Float:y, &Float:z, Float:xoff= 0.0, Float:yoff= 0.0, Float:zoff= 0.0) { new Float:rot; GetVehicleZAngle(vehicleid, rot); rot = 360 - rot; GetVehiclePos(vehicleid, x, y, z); x = floatsin(rot, degrees) * yoff + floatcos(rot, degrees) * xoff + x; y = floatcos(rot, degrees) * yoff - floatsin(rot, degrees) * xoff + y; z = zoff + z; return 1; }```
23/04/2018, 09:56 AM   #2
Eoussama
High-roller

Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,075
Reputation: 283
Re: Pawno Geometry

That's simple math, with a basic understanding of Trigonometry you can surely get a grasp on that.
__________________

|===[Web taxi]===|
 List of my work Github Pastebin

|===[Interesting topics]===|
 Semantic Versioning

23/04/2018, 09:59 AM   #3
cengiz6155
Little Clucker

Join Date: Jul 2015
Posts: 44
Reputation: 0
Re: Pawno Geometry

Quote:
 Originally Posted by Eoussama That's simple math, with a basic understanding of Trigonometry you can surely get a grasp on that.
Would you send me a link to help me?

23/04/2018, 10:14 AM   #4
Eoussama
High-roller

Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,075
Reputation: 283
Re: Pawno Geometry

Just ****** it, you'll find a lot of results, It's something you learn at school, here's a wiki page for this.
__________________

|===[Web taxi]===|
 List of my work Github Pastebin

|===[Interesting topics]===|
 Semantic Versioning

 23/04/2018, 10:42 AM #5 OneDay Huge Clucker   Join Date: Sep 2015 Posts: 294 Reputation: 139 Re: Pawno Geometry This is not pawno
23/04/2018, 11:09 AM   #6
cengiz6155
Little Clucker

Join Date: Jul 2015
Posts: 44
Reputation: 0
Re: Pawno Geometry

Quote:
 Originally Posted by OneDay This is not pawno
what is that ?

23/04/2018, 11:11 AM   #7
cengiz6155
Little Clucker

Join Date: Jul 2015
Posts: 44
Reputation: 0
Re: Pawno Geometry

Quote:
 Originally Posted by Eoussama Just ****** it, you'll find a lot of results, It's something you learn at school, here's a wiki page for this.
the coordinates of a vehicle are not given at school.

23/04/2018, 11:32 AM   #8
Dayrion
High-roller

Join Date: Jan 2016
Location: France
Posts: 1,915
Reputation: 258
Re: Pawno Geometry

Quote:
 Originally Posted by cengiz6155 the coordinates of a vehicle are not given at school.
As Eoussama said, this is general mathematic knowledge. You just need to know when you can apply them. Like this case, for example.
__________________
actor_plus - v5.0.2
« I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath »

23/04/2018, 12:05 PM   #9
cengiz6155
Little Clucker

Join Date: Jul 2015
Posts: 44
Reputation: 0
Re: Pawno Geometry

Quote:
 Originally Posted by Dayrion As Eoussama said, this is general mathematic knowledge. You just need to know when you can apply them. Like this case, for example.

23/04/2018, 12:49 PM   #10
OneDay
Huge Clucker

Join Date: Sep 2015
Posts: 294
Reputation: 139
Re: Pawno Geometry

Quote:
 Originally Posted by cengiz6155 what is that ?
Pawn

 Thread Tools Display Modes Linear Mode

 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 Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post CrazyBosnianGamer Scripting Help 6 03/06/2016 02:18 PM giorgi1494 Scripting Help 0 31/10/2014 05:04 PM zzarzzur Help Archive 3 29/01/2010 03:50 AM

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

 -- (EN) English -- (RU) Русски SA-MP - Archive - Top