hello I am trying to attach an object to empty static mesh, how can i do it in c++ i know that i can attach it to the camera using the camera reference in my c++ script, how can i do it to a static component? thanks for your time and i will really appreciate it
Use attachtocomponent function
thanks for the time for answer, but i want to attach it to a specific static mesh, i tried to use this UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Populate)
UStaticMeshComponent* StaticMesh;
but it does not show on the blue print, how can i do it?
again really thanks for your time for aswering.