Help wirth spinner

dm222dm222 Member Posts: 1
edited November -1 in Working with GS (Mac)
Hi all,
I have made a simple game that is based on the coin game (a ball bounces and hits coins making them destroy). I'm learning and need to start somewhere.
Anyway, I have an object on the screen that rotates but when the ball hits it, the spinner moves off screen. When I go into the physics area and un-check movable, it doesn't rotate. I have a collide event in the ball object.

Comments

  • hackmodfordhackmodford Member Posts: 48
    Try constraining the spinners X & Y position to a specific location. Then it won't move.
  • mithraweptmithrawept Member, PRO Posts: 167
    You could leave the actor as un-moveable and interpolate spinning. In your collide rule, add an interpolate behaviour:

    self.Rotation = random(1,360)
    Duration 2 Function Ease out

    Probably not the right way of doing it but might suit your need.
Sign In or Register to comment.