스포트라이트 세일: 7월 15일 오후 10시 59분까지 엄선된 콘텐츠를 50% 할인받으세요.

BuildingGenerator

1
별 5개 중 5개(평점 1개)
  • 100%
  • 0%
  • 0%
  • 0%
  • 0%

generates a town with various building shapes and types. This implementation includes necessary validation, collision checking, and terrain adjustment to ensure buildings are correctly spawned without overlapping and appropriately grounded.

  • 지원 플랫폼
  • 지원 엔진 버전
    5.3 - 5.4
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

Building Type and Shape Configuration:

  • Supports multiple building types: Residential, Commercial, and Industrial.
  • Allows generation of buildings in different shapes: Circle, Rectangle, Triangle, and Hexagon.

Flexible Building Parameters:

  • Customize each building with a variety of static meshes.
  • Define minimum distances between buildings to avoid overcrowding.
  • Enable random rotation for buildings to create a more organic layout.
  • Specify height variations for more dynamic building appearances.

Randomized Town Generation:

  • Generates a random number of buildings within a specified range.
  • Randomly selects building types and shapes based on provided configurations.
  • Places buildings within a defined town radius, ensuring even distribution for shapes like circles and triangles.

Terrain and Collision Handling:

  • Adjusts spawn locations to conform to the landscape height.
  • Ensures buildings are not obstructed by other objects in the world.
  • Validates locations to maintain minimum distance between buildings.


기술적 세부사항

Features: (Building Type and Shape Configuration)

  •  Configurable Building Types and Shapes: Choose from multiple building types and layout shapes for versatile town generation.
  • Customizable Parameters: Specify building meshes, minimum distances between buildings, random rotations, and height variations.
  • Randomized Town Generation: Generate a random number of buildings within specified limits, ensuring varied and organic layouts.
  • Terrain and Collision Handling: Adjusts spawn locations to the landscape height, ensuring buildings are grounded and not overlapping.



  • GenerateTown: Main function to generate the town. Parameters include the world context actor, town center, radius, building count range, and an array of building parameters.
  • GenerateRandomPointInCircle/Rectangle/Triangle/Hexagon: Helper functions to generate random points within specified shapes.


Number of Blueprints:3

Number of C++ Classes:3

Network Replicated: (Yes)

Supported Development Platforms: (win64)

Supported Target Build Platforms: (win64)

Documentation: Link

Discord: Here

Important/Additional Notes: