Announcement

Collapse
No announcement yet.

Python - 4.23 spawning unreal.Actor not creating sub sceneComponent

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Python - 4.23 spawning unreal.Actor not creating sub sceneComponent

    I am wanting to spawn a basic actor that has a sub scenecomponent (which gives the actor transform information). I was able to generate this before in earlier versions 4.21 and 4.22, but for some reason in 4.23 the only thing that is created is the actor without the sceneComponent already attached. I would like to be able to get this to work like before through code....right now my brain is not working.

    Code:
    rootActor = unreal.EditorLevelLibrary.spawn_actor_from_class(unreal.Actor, unreal.Vector(0,0,0), rotation=[0,0,0])
    Last edited by cgsquirrel2; 09-06-2019, 03:11 PM.
Working...
X