SA-MP Forums Moving object in parabola
 User Name Remember Me? Password
 New Account Members List Search Today's Posts Mark Forums Read

 Thread Tools Display Modes
 08/07/2017, 08:28 PM #1 NeamPojma Big Clucker   Join Date: Jan 2015 Location: Serbia Posts: 67 Reputation: 10 Moving object in parabola Hello as title says how could i make object move in parabola (to look realistic)? I have starting X,Y,Z and ending X,Y,Z and i guess MoveObject velocity.
 09/07/2017, 01:22 PM #2 AbyssMorgan Banned   Join Date: Apr 2015 Location: Poland Posts: 1,212 Reputation: 352 Re: Moving object in parabola You need generate points for arc 3D PHP Code: ``` bool:GetArcPoints3D(Float:x,Float:y,Float:z,Float:tx,Float:ty,Float:tz,Float:ry,Float:height,Float:points[][],max_points = sizeof(points));  ``` 3DTryg.inc: http://forum.sa-mp.com/showthread.php?t=591010 Video: https://www.youtube.com/watch?v=lYS-ryk7n4E
 09/07/2017, 02:14 PM #3 NeamPojma Big Clucker   Join Date: Jan 2015 Location: Serbia Posts: 67 Reputation: 10 Re: Moving object in parabola Hmm can you explain parameters?
 09/07/2017, 02:28 PM #4 AbyssMorgan Banned   Join Date: Apr 2015 Location: Poland Posts: 1,212 Reputation: 352 Re: Moving object in parabola PHP Code: ``` bool:GetArcPoints3D(Float:x,Float:y,Float:z,Float:tx,Float:ty,Float:tz,Float:ry,Float:height,Float:points[][],max_points = sizeof(points));x,y,z - start positiontx,ty,tz - end positionry - roll arc (default 0.0 the arch point rises upwards)height - maximum radius of arcFloat:points[][] - arc pointsfirst: x,y,zlast: tx,ty,tzminimum max_points is 3  ```

 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 arjanforgames Scripting Help 2 18/08/2013 11:54 PM SnG.Scot_MisCuDI Scripting Help 13 21/05/2012 04:53 AM Chris_Morrison Scripting Help 18 04/03/2012 04:16 PM KiiD Scripting Help 12 16/02/2012 03:15 PM Jack- Help Archive 1 19/12/2010 10:04 PM

All times are GMT. The time now is 11:10 PM.

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

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