TeleportTo doesnt work properly on my creative_prop

Hello guys i’m facing a strange problem/bug

My PropParent has a childProp, the child prop is at 0.0.0 location

My PropParent is a creative_prop
My childprop is a CameraActor

The ParentProp location (image2) : ((X=-0.000000,Y=-0.000000,Z=-0.000000)
The child prop attached to the Parent = (X=-0.000000,Y=-0.000000,Z=-0.000000)

The goal location : (X=-41819.432668,Y=162764.039681,Z=15696.680004)

I have this ultra simple code triggered with a button device :

          InitialPos := PropParent.GetTransform().Translation
          Print(" Initial prop position: {InitialPos}")

          if:
              PropParent.TeleportTo[TestTeleportLocation, IdentityRotation()]
          then:
              ActualPos := PropParent.GetTransform().Translation
              Print("prop teleported")
              Print("Expected: {TestTeleportLocation}")
              Print("Actual:   {ActualPos}")

              Sleep(10.0)

              LaterPos := PropParent.GetTransform().Translation
              Print("10 seconds later position: {LaterPos}")

The print is retunring me :

LogVerse: :  Initial prop position: X=0.000000, Y=0.000000, Z=0.000000
LogVerse: : prop teleported
LogVerse: : Expected: {x=-41819.432668,y=162764.039681,z=15696.680004}
LogVerse: : Actual:   {x=-41819.432668,y=162764.039681,z=15696.680004}
LogVerse: :  10 seconds later position:: X=-41819.432668, Y=162764.039681, Z=15696.680004}

As you can see everything seems to work

But in game, my prop is absoluteley not the at “expected” location, its somewhere else in my map, i cant even know where

I tried the MoveTo method, TeleportTo, removed collision, removed “spatially loaded” but nothing works

This is my setup :

image

Thanks guys !

Bump

Hello,

What’s the bigger picture as far as what you’re using the camera for? My first thought is that if the camera or parent is being used in a sequencer animation, sequencer might be overriding the position.

Also try with the goal location closer to the world origin.