Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9450

Capture Item Spawner doesn't teleport correctly

$
0
0

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Devices

Summary

When trying to teleport a capture_item_spawner_device to another position, only the base mesh is teleported, and the system and interaction remain in the same place.

Steps to Reproduce

Using the following code on Verse to teleport the device, the base of the Capture Item Device will successfully teleport, but the item will stay at the original place.

    @editable CaptureItemDevice1 : capture_item_spawner_device = capture_item_spawner_device{} 

    # Runs when the device is started in a running game
    OnBegin<override>()<suspends>:void=
        TaggedObject:= GetCreativeObjectsWithTag(SpawnPointTag{})
        if(SelectedObject:= TaggedObject[0]):
            TargetPos := SelectedObject.GetTransform()
            if(CaptureItemDevice1.TeleportTo[TargetPos]):

Obs: the code above is using a tag, but if you replace it for any other Transform position, the bug will happen as well. It used to work about two updates ago, on 28.10 if I’m not mistaken.

Screenshot of the issue

Expected Result

Both the base of the device and the item on it teleport

Observed Result

Only the base teleports and the item stays on the original position

Platform(s)

Windows

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 9450

Trending Articles