# Calcul rotation around a point

Get help using Construct 2

### » Sat May 18, 2013 12:59 pm

Hi,

I would like to know if someone knows how to calculate easily if an object did a complete rotation around a point?

Thanks for help!
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

### » Sat May 18, 2013 1:21 pm

@beufreecasse

I don't think an expression can be made easily for that, It will depend on what do you used/want to test exactly
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
41
S
16
G
15
Posts: 2,046
Reputation: 14,689

### » Sat May 18, 2013 1:48 pm

@Aphrodite

In fact I want to test the number of rotation of an object around a point
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

### » Sat May 18, 2013 3:19 pm

[QUOTE=beufreecasse] @Aphrodite

In fact I want to test the number of rotation of an object around a point[/QUOTE]

If your object is rotating in one direction, you can count how many times it passes by an angle
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
41
S
16
G
15
Posts: 2,046
Reputation: 14,689

### » Sat May 18, 2013 11:32 pm

You are right but my object can rotate on both ways.
So I think this is not enough :(
B
14
S
4
G
2
Posts: 190
Reputation: 3,938