Hello, i’m trying to spawn a bullet (a nuclear warhead) in my player, using an Empty and Add-object actuator, but for some reason the scale of my object (the bullet) changes completely when spawned (attached images).
select the child, then the parent then ctrl+p > set parent to ‘object’.
if you have already lined up where you want your object to be us ctrl+p > set parent to ‘object’ (keep transform).
I think you should get rid of that set parent block…there is probably no need for that logic brick and it could be messing with it in some unknown way.
this is almost certainly a scale problem…like said above apply scale on all objects. ctrl+a > apply scale…I would gladly look at your file and fix it if you upload it…or tell you exactly the problem. Most of these guys have been using BGE far longer than I for them, this is a easy fix…
I tried all possible “parents”, ctrl + p was my first attempt, they all have the same problem.
the steps I follow to do this:
I created the bullet on a different layer
I added physics to that bullet, and I put it to go always in one direction
I created an Empty
I added a keyboard in this Empty to add the bullet
I selected the Empty, then the plane, and clicked ctrl + p -> keep transform
Did I do something wrong? I do not think so… :no:
The problem only happens if the empty is child of the airplane (or grandchild).So it is not an object (bullet) scale problem