Slow Rotation

CaptFinnCaptFinn Member Posts: 1,828
edited June 2012 in Working with GS (Mac)
Imagine a Asteroid. Falling from top of screen down to bottom of screen. IM using a random off screen spawn and a (Move: Direction and Speed. As soon as the actor spawns and start moving. I want it to slowing spin and it goes downward.

I gave the actor a rotate but the actor travels down but doesnt spin in place. it almost looks like a car rounding the bend as it falls.

Answers

  • rotorrotor Member Posts: 25
    It sounds like this what you are looking for:
    "angular velocity: the speed at which the actor rotates. Values greater than 0 cause the actor to rotate counter-clockwise. Negative values cause clockwise rotation"

    Attribute of the motion subgroup.
  • DanDaMan123DanDaMan123 Member Posts: 216
    I bet that your move behavior was set to move downward relative to the actor. If the actor is rotating then downward for it could become sideways from our perspective. Change the setting within the behavior to 'relative to scene.'
  • MotherHooseMotherHoose Member Posts: 2,456
    @Jeffnichols

    on asteroidActor:
    -delete the moveBehavior
    -change its: Motion: Linear Velocity.Y To: -100 (or whatever -number for speedDown)
    -in rotationBehavior: set the speed to 45 (or whatever is slow enough for you)

    image MH
  • CaptFinnCaptFinn Member Posts: 1,828
    Motherhoose:

    That is making my actor come from the bottom and go upwards. But it is rotating the way i want it to in a str8 line. Just its coming from bottom instead of top.

    Actors: Motion: Linear Vel Y 100

    And Rotate Behavior is 20 Clockwise.
  • MotherHooseMotherHoose Member Posts: 2,456
    @Jeffnichols

    100 to go up … -100 to go down …you need to type in the minus sign!

    image MH
Sign In or Register to comment.