Summary
Hello,
I’ve ran into an issue where when any instance of a prop that I spawn in verse does not own the same properties as the prop-blueprint.
For context:
I have a prop on which I’ve added the FortPhysics component in the blueprint editor. Now I was hoping to spawn that prop programmatically, but the spawned prop doesn’t have physics enabled at all.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Other
Steps to Reproduce
-Convert any static mesh to prop (Scripted asset Actions → Convert To Prop → ..)
-Open newly created prop in Blueprint Editor
-Add new FortPhysics Component to the prop
-Configure Physics settings to liking, or copy these : (Simulate Physics = ON, Enable Gravity = ON, Start Awake = ON)
-Add Verse Device, and configure Prop as “Physics OBJ”:
@editable
Physics_OBJ: creative_prop_asset = DefaultCreativePropAsset #Prop which has physics enabled..
@editable
ObjConfig: transform = transform{Translation := vector3{X:=0.0,Y:=0.0,Z:=70.0}, Rotation := MakeRotation(vector3{X:=0.0,Y:=0.0,Z:=0.0}, 0.0), Scale := vector3{X:=2.0,Y:=2.0,Z:=2.0}}
OnBegin<override>()<suspends>:void=
{
SpawnPhysProp()
}
SpawnPhysProp()<suspends>:void={
SpawnedObj := SpawnProp(Physics_OBJ, ObjConfig)
#PropInstance := SpawnedObj(0)
}
Expected Result
I expected to spawn a new instance of a prop that has physics enabled.
Observed Result
The spawned prop does not have physics enabled, or at least does not respond to hits/ pushes.
Platform(s)
PC
Video
I don’t understand why the video lags, but it gets the point over..