Summary
I have a script that will spawn an entity through AddEntities() function and will teleport the cube 1000 units down.
AddEntity(Agent : agent):void=
var EntityTransform : transform = Entity.GetGlobalTransform()
set EntityTransform.Translation = EntityTransform.Translation + vector3{Up := -1000.0}
if:
SE := Entity.GetSimulationEntity[]
then:
profile("Adding PF_Cube Entity"):
PF := PF_Cube{}
SE.AddEntities(array{PF})
PF.SetGlobalTransform(EntityTransform)
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Spawn a entity and teleport it down
Move 150m away from the origin of the entity
Move back to the origin of the entity
Expected Result
The entity is unseen as it is still 1000 units down
Observed Result
The entity can be seen on origin
Platform(s)
Windows