How to slide on screen?
Croissant
Member Posts: 21
I have a planet on my scene.
I want the planet turn counter-clockwise rotation when I slide to left on the screen, and turn clockwise rotation when I slide to right.
But when I create a new rule, it seems no conditions can describe this.
How to implement it?
I want the planet turn counter-clockwise rotation when I slide to left on the screen, and turn clockwise rotation when I slide to right.
But when I create a new rule, it seems no conditions can describe this.
How to implement it?
Comments
The blue actor at the bottom follows the mouse X position and tracks its own motion linear X then changes the game booleans rotate clock and anti clock.
I also added some drag to the rotating actor.
See if it helps.
Darren.
I don't know why but what I set didn't work, which everything just like the template you gave me.
So I directly copied and pasted all from your template to my project file, then it worked!
I just don't know why? Why?