Constant Movement, Even With Collision

App SurgeApp Surge Member Posts: 651
edited April 2012 in Working with GS (Mac)
Hey there GS guys,
I'm nearing completion of my oh-so-long project! However I spotted a major glitch. I have a fan that moves back and forth across the screen at a constant speed and rotation. However, when it collides with the ball, the speed will change, it may not stay on the same y-coordinate, and the rotation will slow down and occasionally stop. I am using change velocity for the movement and the rotation behavior for the rotation.

Thanks,
Henry

Best Answer

Answers

  • App SurgeApp Surge Member Posts: 651
    Just a little bump...
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    You should probably use interpolate instead of velocity. If you interpolate between two positions, you can uncheck "movable" and your fan won't be moved, slowed, or changed by contact with the ball.
  • shark1505shark1505 Member Posts: 75
    You want to change the friction of both actors to 0.
  • App SurgeApp Surge Member Posts: 651
    @LiquidGameworks
    I've thought about that, but with moveable unchecked it does not rotate.

    @shark1505
    I would've done that but I need the friction for other events that happen.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    @ redsky

    You can still rotate it with interpolate
  • App SurgeApp Surge Member Posts: 651
    @JohnPapiomitis,
    I know that but when I uncheck moveable the rotate behavior does not work.
  • App SurgeApp Surge Member Posts: 651
    Ah, I just got it. I'm using interpolate for the rotation instead of the rotate behavior.

    Thanks so much you guys!
  • App SurgeApp Surge Member Posts: 651
    True... True... :)
Sign In or Register to comment.