"Rotate to Angle" won't fully rotate

Get help using Construct 2

Post » Mon Dec 09, 2013 8:34 am

CAPX: https://www.sugarsync.com/pf/D6025908_4317202_6015268

I've got a door that will swing open when the character moves over the green pad. It should open a full 90-degrees. The open and closed values are stored to two instance variables (lines 2 & 3). I use the "rotate towards angle" action (lines 20 & 21), and at one point, it worked. Regardless of the parameter of how many degrees to move. Any ideas why it stops just a few degrees short?

According to the manual, the action should rotate the full amount specified, but, suddenly it's not doing so.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
141
S
24
G
8
Posts: 790
Reputation: 15,119

Post » Mon Dec 09, 2013 10:14 am

disable line 24 - and it opens to 90deg.

so i think it is opening and closing back 3 degrees ?
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
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Wed Dec 11, 2013 10:58 pm

Did you get any further with this?
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
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Wed Dec 11, 2013 11:00 pm

I did! Thank you. Sorry, my phone is horrible to reply with.
My problem was that the red object plate had an initial value of 0, so line 24 automatically started to take effect. I changed the initial value to 2, and that solved the problem.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
141
S
24
G
8
Posts: 790
Reputation: 15,119


Return to How do I....?

Who is online

Users browsing this forum: MrQuickGame and 10 guests