Increase your productivty with this new editor mode that lets you place meshes anywhere on the map with a single click. The meshes align with the surface they are placed on, so less time spent on the editor’s gizmo and more time saved
Should models be prepared with pivot point, like linking pivot point to specific vertex, or this plugin can handle models placement without preparation pivot in 3ds max or other app?
Great plugin thank you. For us it is important to have identifiable names within the world outliner of the editor so I have added the following line to the FedModeHaste::HandleClick function, thought it might be useful to others.
bool FEdModeHaste::HandleClick(FEditorViewportClient* InViewportClient, HHitProxy *HitProxy, const FViewportClick &Click)
{
if (ActiveBrushMesh && !bMeshRotating) {
AStaticMeshActor* MeshActor = GetWorld()->SpawnActor<AStaticMeshActor>(AStaticMeshActor::StaticClass());
///
/// @note [vaughan.sanders] Rename the display name of the new actor in the editor to
/// reflect the mesh that is being created from.
///
FActorLabelUtilities::SetActorLabelUnique(MeshActor, ActiveBrushMesh->GetName());
///
MeshActor->GetStaticMeshComponent()->StaticMesh = ActiveBrushMesh;
MeshActor->ReregisterAllComponents();
FTransform Transform(BrushRotation, BrushLocation, BrushScale);
MeshActor->SetActorTransform(Transform);
// Switch to another mesh from the list
ResetBrushMesh();
}
return FEdMode::HandleClick(InViewportClient, HitProxy, Click);
}