how i make a bullet to be affected by gravity

guillefaceguilleface Member, BASIC Posts: 1,039
edited November -1 in Working with GS (Mac)
i have bullets going straight to different direction, but i want them also to go down after some seconds, pretty much like when you are trowing a granade up high then going down

Comments

  • RedlerTechRedlerTech Member Posts: 1,583
    make them accelerate downward :D

    Matt
  • guillefaceguilleface Member, BASIC Posts: 1,039
    i know that should do it but i donk know why is not working, i want the bullet to go in a 45 angle so i have two accelerate to, one to 45, and the second 270 to simulate gravity but is not working
  • RedlerTechRedlerTech Member Posts: 1,583
    so then just create plain gravity. Look, in scene attributes :D

    Matt
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you cannot have two accelerates at one time. You need to make it change velocity for the firing and the have the accelerate down. for gravity.
  • guillefaceguilleface Member, BASIC Posts: 1,039
    thank you both of you, but tenrdrmer got it right :), tenr whats the difference of change velocity or move, i try move in the 45 angle with 270 accelerate and dint work buy with change velocity is working great, thanks anyways you are always very helpful.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Glad it worked for you.

    Change velocity is normally the best way to set a velocity. Im not exactly sure on how it differs from move but move is normally used with a rule and it stops the actor as soon as the rule in not valid. where change velocity is just a fast way to change both velocity x and velocity y with one behavior and not have to calculate the x and y velocities. Also the velocity will not stop once a rule becomes invalid.

    ___________________________________________________________________________________
    TEMPLATES AND PROJECT HELP BY TENRDRMER. CLICK HERE!!!

    AppSolute Entertainment on Facebook
    AppSolute Entertainment on iTunes
Sign In or Register to comment.