Placement Page
From C4 Engine Wiki
The Placement Page is a tool page in the C4 Engine World Editor. It can be displayed by selecting Placement from the Page menu.
Shown below, the Placement Page contains a few simple modifiers that can be applied to a new node's transform when it is first placed in the world. These modifiers are only applied to models, referenced worlds, and locator markers.
Placement modifiers are only applied when the "Enable modifiers" box is checked.
- If the "Randomize rotation" box is checked, then a node is rotated through a random angle about the z-axis when it is placed. This is useful for giving objects a random orientation about the vertical direction.
- If the "Align to tangent plane" box is checked, then a node is rotated so that its x and y axes lie in the tangent plane of the surface on which it is placed. This rotation occurs after the random rotation about the z-axis if that option is also enabled. This is useful for aligning the orientation of objects to slopes or other non-horizontal surfaces.
- If the "Sink into ground" box is checked, then the World Editor constructs a circle parallel to the x-y plane (the ground) whose radius is specified by the "Sink radius" box. This circle is centered on the point that was clicked with the mouse, and then it is projected downward to determine how far it would have to be moved in order for the entire circle to be underneath any uneven ground that may be present. The position of the new node is moved downward by this distance. This modifier is useful for automatically sinking objects like trees into the ground by enough distance so as to completely hide their bases, as illustrated in Figure 1.
The "Apply to Selection" button causes the current placement modifier settings to be applied to the selected nodes in the world. (The state of the "Enable modifiers" check box is ignored in this case.)


