Download

SpawnActor and collision problem

Hello. I just posted a topic but i dont see it so i write it again. Using this code http://pastebin.com/sGiSgrEY the actor is spawned on 0,0,0 with no rotation, which is obviously wrong. After some trial and error it turned out that the CollisionComponent caused that behavior (after changing RootCompnent to Mesh and removing CollisionComponent the spawn is correct, but why did it bug with the example code on pastebin?). Now when im spawning the actors they fall below the floor (being spawned in air but ground is not stopping them), and i dont have idea why that happens.

Thanks in advance