Calcul rotation around a point

Get help using Construct 2

Post » 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

Post » 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
48
S
20
G
18
Posts: 2,111
Reputation: 16,771

Post » 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

Post » 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
48
S
20
G
18
Posts: 2,111
Reputation: 16,771

Post » 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


Return to How do I....?

Who is online

Users browsing this forum: GunnarWomack, kiugetski, Zaksoid and 11 guests