Gamestudio Links
Zorro Links
Newest Posts
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
Camera always moves upwards?
by NeoDumont. 11/14/25 16:32
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 9,164 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
circle move - circular motion #379650
08/05/11 17:16
08/05/11 17:16
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
Hi,

Im trying to do a circle move. (like tarzan with a liana) or.. like.. .. dunno.

i know do horizontal/vertical movement like player.x+=2; or player.y+=2;

but how to do a fluid circular movement ?
If there an equation or anything ?
Does anyone have any tip for it ?

thanks

Re: circle move - circular motion [Re: ayks] #379651
08/05/11 17:35
08/05/11 17:35

M
Malice
Unregistered
Malice
Unregistered
M



Take a look at this post I had I bit ago. LINK

Use a scan to get at target entity for the circle center.

Last edited by Malice; 08/05/11 17:36.
Re: circle move - circular motion [Re: ] #379655
08/05/11 18:26
08/05/11 18:26
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
thanks i'll try it later

Re: circle move - circular motion [Re: ayks] #379881
08/09/11 10:56
08/09/11 10:56
Joined: Aug 2010
Posts: 26
J
JHA Offline
Newbie
JHA  Offline
Newbie
J

Joined: Aug 2010
Posts: 26
Hello
Circle's equation is

(x-x1)^2+(y-y1)^2=r, where

x1, y1 is center point of the circle and r is radius. Solve function as a function of x: y=f(x). Beware you are going to have a square root and you can get a negative into square root, so you have to check that.

Jarkko

Re: circle move - circular motion [Re: JHA] #380070
08/11/11 22:29
08/11/11 22:29
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
thanks jarkko i'll try it later too


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1