Max rotation?

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello, could you please help me with this one?

I have an actor, and player is able to rotate it, depending on the mouse position.
But I would like this actor to rotate only between two points.
The rule:
When touch is pressed
and
self.Rotation<X

Isn't working, because it's just blocking the actor when his rotation is on some value. And I want to make something like "wall".

Collide with objects doen't work either.

Thank you.

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Thank you very much tshirtbooth!

    :)
  • webpixappswebpixapps Member Posts: 1
    Hello i tried your post and it works to the some extent..i want to fully rotate an actor where my mouse position..any help will be appreciated...
Sign In or Register to comment.