How can I PUSH an Actor? - Help!

kajutokajuto Member Posts: 314
edited July 2012 in Working with GS (Mac)
hi there!! i recently made a platform game, i got my hero actor that can go back and forth and jump also.., i want when he overlap or collide with Push Actor , push the hero actor far far away, any idea? please help thanks a lot

Answers

  • UtopianGamesUtopianGames Member Posts: 5,692
    What does the push actor do? Does it move left and right or is it stationary and act like a spring when the hero collides with it?

    Darren.
  • kajutokajuto Member Posts: 314
    depend in which direction i put the Push Actor it could be left or/and right..., and also i want when the hero collide with the push actor the hero spring automatically until it not collide with it anymore
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    You could probably just give it a collide behavior, and up the bounciness of the object in its physics attributes.
  • kajutokajuto Member Posts: 314
    JohnPapiomitis i tried but it not what i want. watch that video, when the character slide in the floor
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited July 2012
    so what you just want him to be continously moving when hes on the floor? You gotta describe what your trying to do more.

    If the floor is what you want have a rule when the actor collides with the floor

    change or constrain its motion linear velocity x to whatever, or just have an accelerate behavior
  • kajutokajuto Member Posts: 314
    Thanks! JohnPapiomitis! hope you fine! do you have time? for a project?
  • kajutokajuto Member Posts: 314
    btw in the video, the character when spring or falling down it give a impression of falling like moving maybe the camera or something did you notice John? how do you suggest i do that?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    btw in the video, the character when spring or falling down it give a impression of falling like moving maybe the camera or something did you notice John? how do you suggest i do that?
    Put the control camera behavior in the actor and adjust the tracking area to your liking, or constrain the camera position x to player x and camera position y to player y + or - a offset if needed.

    And yep im available for work, shoot me an email.
  • kajutokajuto Member Posts: 314
    thanks for the replied John, i send to you a email while ago, anything let me know
Sign In or Register to comment.