Rotating to where is pressed

AngryBoiAngryBoi Member Posts: 586
edited March 2015 in Working with GS (Mac)

How do I make it so wherever is pressed, your actor rotates to where is pressed. But only rotates the whole way if it is held.

Comments

  • AngryBoiAngryBoi Member Posts: 586

    ...reworded

  • SocksSocks London, UK.Member Posts: 12,822

    .

  • AngryBoiAngryBoi Member Posts: 586

    @Socks Thanks, but I have already tried this. I am using an arrow as an actor, and I need the arrow to point where my touch is.

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2015

    @MoneyBags said:
    Thanks, but I have already tried this.

    I'm going to guess that is code for 'I have already tried this, but it didn't work' ? ;)

    If that's the case are you able to say in what way it didn't work ? (it moved the wrong way, pointed the wrong way, didn't move at all, did move but wouldn't stop . . etc)

    @MoneyBags said:
    I am using an arrow as an actor, and I need the arrow to point where my touch is.

    This is what the code I posted above does.

  • AngryBoiAngryBoi Member Posts: 586

    @Socks Yep never mind... I just had to change the offset to 270 for where the point of my arrow was. Thanks

  • SocksSocks London, UK.Member Posts: 12,822

    @MoneyBags said:
    Socks Yep never mind... I just had to change the offset to 270 for where the point of my arrow was. Thanks

    :#

Sign In or Register to comment.