Terrain Processor: Point: With Rotation

From Bohemia Interactive Community
Revision as of 01:19, 29 October 2018 by Gigglebok (talk | contribs) (added info on ROTATION)
Jump to navigation Jump to search

Task details

Task name : Point: With Rotation

Dll plugin name : BITasksPlugin.dll

Geometry type : Point, PointM, PointZ

Heightmap : No

Description

Method puts objects on points with defined or random rotation.


Object prototype parameters

  • OBJECT - Object's prototype name
  • PROB - Object's probability
  • MINHEIGHT - Minimal size in %
  • MAXHEIGHT - Maximal size in %
  • RANDROT- Random rotation (true x false)
  • ROTATION- If random rotation is false, then use this value. ROTATION is specified in radians, anti-clockwise, with 0 being North.

Usage

Very simple algorithm, it places objects with fixed or random rotation on given points. It can be used for any single object where particular orientation is desired and known: small crosses, chapels, street lights, towers etc.

Algorithm

For each shape point do :

  1. Get rotation
  2. Add object