Why aren't my spawned actors upright?

NuclearPorridgeNuclearPorridge Member Posts: 1
edited March 2012 in Working with GS (Mac)
Hello all

This is my first time posting to the GameSalad forums after much lurking. I've recently started my first serious attempt at a game, a Duck Hunt-esque shooting game. I've spent a lot of time googling for answers to my various problems but have become stuck with my latest conundrum:

Why aren't my spawned actors upright?

I have a Spawner actor that releases the Target actor in a random direction after a short delay at the start of the game. My Target actors face every which way when they are launched, rather than straight up and down. I have set them to have a fixed rotation and even tried spawning them at a fixed point in case it was the random direction instruction that was messing things up for me, but to no avail. Does anyone have an idea on how to sort this?

Thanks

NuclearPorridge

Comments

  • RPRP Member Posts: 1,990
    edited March 2012
    Check your spawn actor behavior. Make sure that the Direction is 0. It works like a rotate, not the direction they will travel.
  • LumpAppsLumpApps Member Posts: 2,881
    What RP says but also check if the spawning angle is relative to actor or screen.
    Relative to actor means the spawned actor gets the same angle as the spawning actor + what you put in angle in the spawn behavior.
    Relative to scene means the actor gets a zero angle + what you put in angle in the spawn behavior.
  • NuclearPorridgeNuclearPorridge Member Posts: 1
    Many thanks fellows.

    With a combination of both bits of advice I've sorted it. Sterling community we have here!

    NuclearPorridge
Sign In or Register to comment.