Rotate on MouseClick?

Ing3nuIng3nu Member Posts: 22
edited November -1 in Working with GS (Mac)
Happy Weekend Everybody!

I am trying to get my box (which now has passable holes, thanks to JackBQuick and EAguirre) to rotate 90deg when it receives a mouseclick or touch.

Thus far I am having no luck. I have placed a rule that first defines "on touch" and then a "rotate to position" in the box actor but it does not seem to function when I try it out in the preview.

So my first question is, should the rule be in the actor itself (the box is created by having a procedural actor spawn 6 small "pips") or should it be more general and elsewhere in the scene?

My second question is, do I need to have more to it than just a rule defining the touch and the rotation? For example so I need to add some sort of rotation constraint?

Any examples or advice are welcome!

Comments

Sign In or Register to comment.