Collide and slow down actor

EminemEminem Member Posts: 667
edited November -1 in Working with GS (Mac)
Collide and slow down actor

I want when the actor hits something the speed will decrease and the actor would become sluggish any clue how i can do this?

Thanks

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    When actor overlapps with the actor that causees the slow down, change attrbiute motion linear x to whatever speed you want
  • EminemEminem Member Posts: 667
    Thxxxxx John!

    But i seem to have a problem it does become slow but only on the edges of the other actor, when the moving actor reaches the middle or so it will go back to its original speed (Of it falling)
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    No problem, and use constrain instead of change
  • EminemEminem Member Posts: 667
    Ok i so i changed it to constrain and now for some reason when the moving actor touches the other actor it cannot move and it just moves to the left. and once it does not touch the other actor it just falls.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    what number are u changing the motion to? and then do the same for for motion y when it collides and that should do it. Sorry i didnt explain this better before im in class lol
  • EminemEminem Member Posts: 667
    Well originally its 100 and im TRYING to change it to 20

    Enjoying your studies? :P
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    change it to something higher, do the same for y and let me know what happens.

    And yes i major in computer science game development, so its pretty fun :) its all programming classes, open gl class, some other programming languages, alot of calculus, and computer database managment. i love it lol
  • EminemEminem Member Posts: 667
    still no success, i changed it to 70 and does the exact same thing.

    That sounds great, sounds like fun!
  • EminemEminem Member Posts: 667
    Bump
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    OK now that im not in class lol. I told you to do something wrong sorry. Where you change attribute motion dont change it to a number. go into attribute browser and select motion, then outside the blue attribute put -50 and start from there. Get what im saying?
  • EminemEminem Member Posts: 667
    I see,

    So i tried it with change attribute and nothing happened it was just regular speed and everything,

    then i tried it with constrain and still no hope , what happens when i do constrain is that increases the gravity and it pulls the actor down very quickly and i tried it with a + and instead of pulling it down it pulls it up.

    Am i missing something?
Sign In or Register to comment.