Difference between revisions of "HPL2/Tools/Level Editor/Compounds"

From Frictional Wiki
< HPL2‎ | Tools‎ | Level Editor
Jump to navigation Jump to search
m (Mudbill moved page Hpl2:Tools:editors:level editor:compound objects to HPL2/Tools/Level Editor/Compounds without leaving a redirect)
(Added hotkey info)
 
Line 1: Line 1:
= Compound Objects =
+
=Compound Objects=
Compound objects are actually groups of simple objects that are put together and transformed as a single one.
+
Compound objects are actually groups of simple objects that are put together and transformed as a single one. Compounds are created by selecting multiple objects in the level and pressing '''B'''. Press '''B''' again to revert the compound back into individual objects.
  
 
Parameter:
 
Parameter:
* '''Name''': Name for the compound.
+
 
* '''Position''': 3D Vector storing the position of the center of the compound.  
+
*'''Name''': Name for the compound.
* '''Rotation''': 3D Vector storing the compound rotation. There can be restrictions on this, if a non rotatable object is included in the compound.
+
*'''Position''': 3D Vector storing the position of the center of the compound.
* '''Scale''': 3D Vector storing the compound scale. There can be restrictions on this, if a non scalable object is included in the compound.
+
*'''Rotation''': 3D Vector storing the compound rotation. There can be restrictions on this, if a non rotatable object is included in the compound.
 +
*'''Scale''': 3D Vector storing the compound scale. There can be restrictions on this, if a non scalable object is included in the compound.

Latest revision as of 18:24, 15 August 2020

Compound Objects

Compound objects are actually groups of simple objects that are put together and transformed as a single one. Compounds are created by selecting multiple objects in the level and pressing B. Press B again to revert the compound back into individual objects.

Parameter:

  • Name: Name for the compound.
  • Position: 3D Vector storing the position of the center of the compound.
  • Rotation: 3D Vector storing the compound rotation. There can be restrictions on this, if a non rotatable object is included in the compound.
  • Scale: 3D Vector storing the compound scale. There can be restrictions on this, if a non scalable object is included in the compound.