Spawning actor gives wrong size actor
Hey all,
So.. if i put an actor with a picture on my stage, I have to adjust the size to make the size i want,
but I don't put the actor on stage myself, when a button is clicked this actor gets spawned by the spawn actor rule,
altho, I can't set the right size of this actor here and the actor spawns way too small.. how can i change this?
Greetings.
So.. if i put an actor with a picture on my stage, I have to adjust the size to make the size i want,
but I don't put the actor on stage myself, when a button is clicked this actor gets spawned by the spawn actor rule,
altho, I can't set the right size of this actor here and the actor spawns way too small.. how can i change this?
Greetings.
Comments
change self.size.width to *number*
change self.size.height to *number*
if you are using a windows you cant use decimals...
hope this helped
good luck!
-Timo-
altho, I setted the right positions, when i press the button i see the actor coming, but it dissapears after 0,1 second. How is that possible?