GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Making an actor seem like its jumping without using gravity

digitalzerodigitalzero Posts: 639Member, BASIC

So I'm trying to make an ai that seems as if it is jumping to an arch in a specific location with out having to use gravity rules... Is there any way to "fake" a jump easily

Comments

  • RThurmanRThurman Posts: 2,822Member, Sous Chef, PRO

    Its all fake jumping! :)

    What did you have in mind? Can you give a little more detail?

  • ookami007ookami007 Posts: 581Member

    Do you mean the built-in gravity rules? You could always use a combination of accelerate to give the actor simulated gravity and then motion.linearvelocity.y /x to give it "jump"

    Failing that, there's always interpolate.

  • digitalzerodigitalzero Posts: 639Member, BASIC

    Hey @RThurman and @ookami007 here's kinda what i was thinking... Making a character move at and arch without gravity placed

  • frdfrd Posts: 191Member

    Give it an X velocity, a Y velocity and accelerate it at 270 degrees.

    For example, to jump to the left like your illustration shows -

    Change attribute, linear velocity x to -300
    Change attribute, linear velocity y to 500
    Accelerate, direction 270, speed 500

  • SocksSocks London, UK.Posts: 12,822Member

    Example attached:

    jump.zip 183.6K
  • digitalzerodigitalzero Posts: 639Member, BASIC

    Thanks so much you guys are awesome!!$

Sign In or Register to comment.