jump with interpolate attribute. Work but...

tabelortabelor Member Posts: 114
edited November -1 in Working with GS (Mac)
I have an interpolate attribute to jump. it interpolate self Y position to self Y position +150. It work fine but my actor go through everything, and i don't want to do this with some actors (for example the roof) but even if i set collision settings, mi jumping actor still go through everything. Can i fix this? Is this a bug?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Dont use interpolate for jump.

    Have a constant accelerate down relative to scene in your character to act as gravity

    then when you want to jump change the players self motion linear velocity y to 400

    Change the 400 to mess with the jump height

    cheers
  • tabelortabelor Member Posts: 114
    yeah but there is a problem with your method, there is no animation of the actor going up because if i use a big number for the self motion linear velocity (im using 4000) i only see like if the actor spawn up without the animation of the actor going up. Again another problem, how can i fix it?
Sign In or Register to comment.