Place actors in landscape by coordinate 1
- Exposure: public
- UE Version: 4.23
The purpose of the BP is to place one or more Static Mesh actors by user defined XY coordinates(GPS in this case) and the BP find the Z location on the landscape to place the actor correctly, there is also a transformation offset variable. The placed actors can also be removed with a button in the editor.
Links to the functions blueprints:
SetOutPostt,Find Post position,Create and Place post,Cleart all Instances
The main function Set Out All Posts, this BP actor works both in game and in editor. It is a button in the editor.
Editor available fields
A Static Mesh/Actor variable
Array of "Post Controls" (also visible in editor) is a list of actors with X and Y coordinates, the function finds the z position in by linetracing the landscape. In this case the XY is GPS coordinates but could be landscape XY coords.
A Mesh Transform variable to set Z(and XY)-offset and rotation common for all actors in Post Controls.
There is also a Clear All instances button in the Editor which removes all placed actors from the landscape.
ctrl + v
1 comment
-
The main functions, the BP actor works both in game and in editor. "Post Controls" (also visible in editor) is a list of actors with X and Y coordinates, the function finds the z position in by linetracing the landscape.
Wobelix
November 18, 2019, 8:03 am