[Solved] actor became smaller after spawning
EpicoreGames
Member Posts: 188
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
@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.
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
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
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
hope someone can answer my actual question
sorry for the error in my question and it is corrected
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
I am using a 15-inch Mid-2014 MacBook Pro .
I will try what you said @tatiang
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 ?
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
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 !