GameSalad

Howdy, Stranger!

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

X and Y

gotyoursgotyours Posts: 246Member
edited March 2012 in Working with GS (Mac)
hello guys, i have a game going where i have constrained the 2 players to the X- with a animation that happens when a button is pushed, my issue is i am having a hard time placing the animation. Whe i trigger it it can be seen on the top and bottom of the player and i constrain the Y for this with in the player?

Best Answers

  • xforcexforce Posts: 187Member
    Accepted Answer
    if the animation is a seperate "spawned" actor then just change the Y spawning location. otherwise have a change attribute changing the Y when the animation is meant to take place
  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    Accepted Answer
    Put an actor where you want the spawn to be, double click it in the scene and look at its position, then youll know where to spawn.

Answers

  • gotyoursgotyours Posts: 246Member
    Yes it is a different part so do I sent the y to where I want it to start from?
  • xforcexforce Posts: 187Member
    yes in the spawn actor behaviour where you see the "up" arrow. enter in the Y value there or use the change attribute behaviour inside the animation actor to change its self.y to wherever you want it to appear
  • gotyoursgotyours Posts: 246Member
    Is there a Wu to mouse over where I want it to spawn and get the Y details or is it a hit and miss till I find the right spot
This discussion has been closed.