toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
moving a ball in a circle
T_Games
Member
Posts:
4
July 2013
in
Working with GS (Mac)
hey guys
how can I let my ball move in a circle?
Best Answers
-Timo-
Posts:
2,313
July 2013
Accepted Answer
@T_Games
Constrain its X position to AAA*sin(self.Time*BBB)+CCC
Constrain its Y position to AAA*cos(self.Time*BBB)+CCC
AAA = radius of circle
BBB = speed of movement
CCC = centre point of the circle
this is the best way
good luck
-Timo-
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
-Timo-
Posts:
2,313
July 2013
Accepted Answer
you also can say move direction 0
and say rotate but the first comment is better
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Answers
T_Games
Member
Posts:
4
July 2013
yey thanks
this worked good!
Sign In
or
Register
to comment.
Answers