Rotating an Object depend on Mouse Movement

Get help using Construct 2

Post » Fri Feb 07, 2014 9:56 pm

I want to rotate an Object depend on drawing a circle using mouse. Is there any way for doing that.
Here is my case details;

I have an circle object used as background and also I have a player. Case is rotating background object when player start to drawing circle on the screen.

I have try getting mouse angle toward to object but this angle returns between 0 , -180. In that way I couldnt get a regular flow.

I hope, I explained
B
1
Posts: 2
Reputation: 129

Post » Fri Feb 07, 2014 10:10 pm

Have a look at R0j0s answer in http://www.scirra.com/forum/trigger-event-after-travelling-360-degrees_topic85274.html . it should get you about 90 there.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812

Post » Fri Feb 07, 2014 10:21 pm

This is realy what I want. Thank you for your support.
B
1
Posts: 2
Reputation: 129


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests