How can I increase the size of an object in the scene in UEFN using Verse? I tried following an example from the documentation using scale, but it didn’t work.
This is the code I used:
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/SpatialMath }
cubDevice := class(creative_device): @editable
var propCub:creative_prop = creative_prop{}
OnBegin<override>()<suspends>:void =
var Transform = propCub.GetTransform().Value
set Transform.Scale = vector3{2.0, 2.0, 2.0}
propCub.SetWorldTransform(Transform)
Since I haven’t received any replies yet, I’d like to follow up and provide a bit more context to make things easier to understand.
I’m trying to increase the scale of an object using Verse code. I’ve searched through the documentation and forums, but so far, I haven’t found a direct way to change the scale of a CreativeProp, prop, device, or CreativeObject via code.
Is there currently any way to modify an object’s scale at runtime using Verse?
I’d really appreciate any help — even if it’s just to confirm that this isn’t supported yet.