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
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
23
G
18
Posts: 2,123
Reputation: 17,200

» 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
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
23
G
18
Posts: 2,123
Reputation: 17,200

» 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

Who is online

Users browsing this forum: No registered users and 2 guests