スポットライト セール: 7月15日まで一部の商品が 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
  • ダウンロードのタイプ
    エンジン プラグイン
    この製品には、コード プラグインが含まれており、ビルド済みのバイナリと Unreal Engine に統合される全ソースコードが完備されています。任意のエンジン バージョンにインストールし、プロジェクト毎に有効化することが可能です。

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: