User Tools

Site Tools


hpl3:tools:maineditors:level_editor:primitives

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hpl3:tools:maineditors:level_editor:primitives [2012/07/03 14:52]
luis created
hpl3:tools:maineditors:level_editor:primitives [2012/12/07 15:53] (current)
luis
Line 1: Line 1:
 ====== Primitives ====== ====== Primitives ======
  
 +Primitives are basic geometrical objects that can be used to shape up map geometry along with Static Objects
  
-General Parameters:+===== General Parameters ​=====
   * **Name**: Name of the primitive.   * **Name**: Name of the primitive.
   * **Position**:​ 3D Vector storing the position in world of the **primitive pivot**.   * **Position**:​ 3D Vector storing the position in world of the **primitive pivot**.
Line 8: Line 9:
   * **Scale**: 3D Vector storing the scale of the primitive.   * **Scale**: 3D Vector storing the scale of the primitive.
  
-Primitive Specific:+===== Primitive Specific ​===== 
   * **Material**:​ Material file for the primitive.   * **Material**:​ Material file for the primitive.
   * **Collides**:​ If enabled, the primitive will keep entities (player included) from getting through it.   * **Collides**:​ If enabled, the primitive will keep entities (player included) from getting through it.
   * **Cast Shadows**: If enabled, the primitive will cast shadows when illuminated by a properly set up light.   * **Cast Shadows**: If enabled, the primitive will cast shadows when illuminated by a properly set up light.
  
-Plane Specific:+===== Plane Specific ​===== 
   * **Tile amount**: amount of repetition of the texture along the axes. The less, the bigger the texture pattern will look.   * **Tile amount**: amount of repetition of the texture along the axes. The less, the bigger the texture pattern will look.
   * **Tile offset**: offset on the texture coordinates.   * **Tile offset**: offset on the texture coordinates.
   * **Texture angle**: rotation of the texture applied on the plane.   * **Texture angle**: rotation of the texture applied on the plane.
   * **Align To World Coords**: if enabled, texture coordinates will be set according to world coordinates. Useful to get seamless floors/​ceilings made out of several planes.   * **Align To World Coords**: if enabled, texture coordinates will be set according to world coordinates. Useful to get seamless floors/​ceilings made out of several planes.
hpl3/tools/maineditors/level_editor/primitives.txt · Last modified: 2012/12/07 15:53 by luis