Making a spike ball move in circles

Get help using Construct 2

Post » Mon Aug 26, 2013 8:34 pm

I want this spike ball to move in a circular motion at a certain spot. Like this:



but I don't see an option for that. It sounds like a sine behavior...but i'm not quite sure.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Mon Aug 26, 2013 8:50 pm

Hi Codeman

One of the simplest methods would be to use the pin behaviour.

Create a spike ball and then create a middle object which you will pin the spike to. This middle object, when rotated, rotates the spike ball :)

You can download an example Capx at ROTATING OBJECTS

Hope this helps :)LionCoreGames2013-08-26 20:51:40
B
38
S
8
G
5
Posts: 141
Reputation: 4,610

Post » Mon Aug 26, 2013 8:56 pm

There's nothing on that link. And I still don't quite understand.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Mon Aug 26, 2013 8:57 pm

one second will check link :)
B
38
S
8
G
5
Posts: 141
Reputation: 4,610

Post » Mon Aug 26, 2013 8:58 pm

Whoops here is the example I made :) LionCoreGames2013-08-26 20:59:12
B
38
S
8
G
5
Posts: 141
Reputation: 4,610

Post » Mon Aug 26, 2013 9:54 pm

Two sine behaviors would do the trick too. Just set one behavior with a period offset of 25% for anti-clockwise rotation and 75% for clockwise rotation.
B
67
S
28
G
24
Posts: 970
Reputation: 18,675


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests