arching a bullet without gravity?

threepeasoupthreepeasoup Member Posts: 33
edited November -1 in Working with GS (Mac)
I have an actor that is moving from right to left and it periodically spawns a "rock" that I want to arc from the moving actor in front of it like its throwing it. I can't use gravity as I have set up the game where gravity would change certain elements of the game. I have tried different solutions with acceleration and move behaviors, and I can't find a good solution. If anyone knows how to arc an actor like a throwing rock please help!

Thanks,

Threepeasoup

Comments

  • old_kipperold_kipper Member Posts: 1,420
    A simple way would be to have the bullet interpolated in both x and y with ease in and out functions to a max height and then another pair of interpolates drop it. You could build variables in the interpolate time and position values to allow for changes in the flight path.

    hope that helps. kipper

    edit... TSB has a simpler answer as usual. go for it!
  • threepeasoupthreepeasoup Member Posts: 33
    Thanks a lot guys! accelerate behavior worked great. Appreciate!

    Cheers!
Sign In or Register to comment.