[Solved] actor became smaller after spawning

EpicoreGamesEpicoreGames Member Posts: 188
edited February 2015 in Working with GS (Mac)

Hello . I noticed that my actor's size became a little bit small after it spawned at the places ( i only let it spawns randomly at 10 different places ) . Why would the size changes?
- Edited

Comments

  • Thunder_ChildThunder_Child Member Posts: 2,343

    @gamesalad7023661 Im guessing because in your original prototype...the "size" of the actor is smaller. In each duplicate you have...open them and change the size to the correct size you want.

    Not sure how you are spawning these actors but you could also add 2 interpolates for size x,y in your actors either instantly or over a period of time.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    It sounds like you have multiple copies of a single actor because you spawned multiple copies. In that case, as @Thunder_Child said, change the size of the prototype actor in the Inspector and all spawned copies will use that size.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • EpicoreGamesEpicoreGames Member Posts: 188

    oops i think there is something wrong in my question ....
    i only spawn the actor but not having multiple copies about it ( i dont know why i typed that ... )
    sorry

  • EpicoreGamesEpicoreGames Member Posts: 188

    hope someone can answer my actual question :)
    sorry for the error in my question and it is corrected

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2015

    What is the size of the prototype actor? What are the sizes of the spawned actors (use a Display Text behavior to show them)?

    If you double-click on the spawner actor in the scene, do you see a large lock symbol? If not, what happens when you click Revert to Prototype at the top of the actor's rules and then Preview again?

    Are you using Mac or PC Creator?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • EpicoreGamesEpicoreGames Member Posts: 188

    I am using a 15-inch Mid-2014 MacBook Pro .

  • EpicoreGamesEpicoreGames Member Posts: 188

    I will try what you said @tatiang

  • EpicoreGamesEpicoreGames Member Posts: 188

    i set it to show its height and width . And the width are all the same but the height of the spawner actor is 92.7 and the spawned actors are 83.5 . What is the problem ?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    What is the size of the prototype actor?

    Not the spawner actor but the prototype actor in the Inspector. Is 92.7 the height of the prototype actor that gets spawned or the spawner actor (the actor with the Spawn Actor behavior)?

    Do you have multiple prototype actors with the same name or an unlocked spawner actor or anything else that could cause confusion about which rules are being used?

    The quickest way to resolve this may be to upload your project file (.zip it first) to a file-sharing site and post the download link here. It's probably something I or someone else can spot easily.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • EpicoreGamesEpicoreGames Member Posts: 188

    oh . i have found out why it is like that . my prototype actor's height is 83.5 so that's why :) thank you @tatiang and @Thunder_child for answering !

Sign In or Register to comment.