Max rotation?
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.
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