Easy method for making an orb float in mid air

ZombiebrainsZombiebrains www.zombiebrains.co.ukMember, PRO Posts: 296
edited November -1 in Working with GS (Mac)
Hello folks

I'm making a magic shooter and I need a magic orb to float in mid air. It needs to gently float up and down like its being suspended in mid air like magic.

Is there an easy way of doing this?

Many thanks guys.

It takes a Zombie to know a Zombie!!!

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Change the accelerate direction up and down as fast as needed for the effect you want.

    image
  • POMPOM Member Posts: 2,599
    In the orb create an attribute - real - call it "initY"

    put these rules in your actor :
    change attribute "initY" to self.position.Y

    when self.position.Y = initY
    interpolate self.position.Y to initY-20 (ease out)

    when self.position.Y = initY-20
    interpolate self.position.Y to initY (ease out)

    This is a great method cause you can make the orb NON movable and it still works!

    Roy.
  • ZombiebrainsZombiebrains www.zombiebrains.co.ukMember, PRO Posts: 296
    Hey,

    Thanks P-O-M for that gem of a routine...will try that out.

    Tenrdrmer - will look into that too...thanks dude

    It takes a Zombie to know a Zombie!!!

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    You can also make it a stand alone animation actor. But it will have a vertical collision size bigger than the actual image, if that will matter, that is.
Sign In or Register to comment.