Difference between revisions of "Collision Painting"
From Wolfire Games Wiki
m (→Ceiling: Updated TODO: add and confirm the effects & colors) |
Silverfish (talk | contribs) (Fixed a few todos) |
||
Line 1: | Line 1: | ||
− | The Collision Paint tool is used to ''"label"'' | + | The Collision Paint tool is used to ''"label"'' objects or parts of objects to change how they interact with characters that collide with it. |
==How To Use== | ==How To Use== | ||
Line 12: | Line 12: | ||
** To paint the hovered triangle and adjacent triangles with the same orientation check ''Spread across flat surfaces'' | ** To paint the hovered triangle and adjacent triangles with the same orientation check ''Spread across flat surfaces'' | ||
** To spread to Triangles with similar orientation on the same object check ''Spread across similar normals'' | ** To spread to Triangles with similar orientation on the same object check ''Spread across similar normals'' | ||
− | *** | + | *** The ''Range'' decides how similar the normals of each triangle need to be to spread, 1 spreads almost nothing, -1 spreads to everything |
− | * | + | * The ''Load'' button loads any currently existing collision paint. |
− | * | + | * The ''Save'' button saves the current collision paint. |
==Labels== | ==Labels== | ||
− | The label checked in the lower box will be applied to the triangles by painting. The | + | The label checked in the lower box will be applied to the triangles by painting. The painted surfaces will indicate its parameter with a specific color when ''View Collision'' is checked. |
Each label's color is written between parentheses below. '''TODO: add a better way to see the colors. maybe like this <span style="background-color:Green; height:20px; width:20px; display:inline-block;"></span>?''' | Each label's color is written between parentheses below. '''TODO: add a better way to see the colors. maybe like this <span style="background-color:Green; height:20px; width:20px; display:inline-block;"></span>?''' | ||
+ | |||
===Floor=== | ===Floor=== | ||
'''TODO: add and confirm the effects''' | '''TODO: add and confirm the effects''' | ||
Line 38: | Line 39: | ||
===Unlabled=== | ===Unlabled=== | ||
− | + | * '''Clear:''' (No color) Resets to the default collision behavior which is based on he triangles normal. | |
− | * '''Clear:''' (No color) | + | * '''No climb:''' (Grey) Has default collision behavior except that the edges can't be grabbed. |
− | + | ** You can paint the 'no-climp' label to all unlabled triangles by clicking the ''Apply 'no climb' to all unlabled surfaces'' button | |
− | * '''No climb:''' (Grey) | ||
− | ** |
Revision as of 12:51, 8 March 2018
The Collision Paint tool is used to "label" objects or parts of objects to change how they interact with characters that collide with it.
How To Use
The Collision Paint window can be accessed in Edit Mode by navigating in the menu bar to Windows -> Collision Paint.
- View the collision by checking View Collision
- To paint whatever the cursor hovers over press B
- To paint the whole object check Per-object
- To paint per-triangle check per-triangle
- To only paint the hovered triangle check Don't Spread
- To paint the hovered triangle and adjacent triangles with the same orientation check Spread across flat surfaces
- To spread to Triangles with similar orientation on the same object check Spread across similar normals
- The Range decides how similar the normals of each triangle need to be to spread, 1 spreads almost nothing, -1 spreads to everything
- The Load button loads any currently existing collision paint.
- The Save button saves the current collision paint.
Labels
The label checked in the lower box will be applied to the triangles by painting. The painted surfaces will indicate its parameter with a specific color when View Collision is checked. Each label's color is written between parentheses below. TODO: add a better way to see the colors. maybe like this ?
Floor
TODO: add and confirm the effects
- Walkable: (Green)
- Balance: (Light-Green)
- Slide: (Cyan)
Wall
TODO: add and confirm the effects
- Wallrun: (Red) Allows wall running on those triangles if they're steep enough.
- No wallrun: (Orange) Won't allow wall running on those triangles.
- Ledge: (Pink)
- Ragdoll: (Blue) Character will ragdoll.
- Ragdoll-death: (Blue) Character will die.
Ceiling
TODO: add and confirm the effects
- Ceiling: (Blue)
Unlabled
- Clear: (No color) Resets to the default collision behavior which is based on he triangles normal.
- No climb: (Grey) Has default collision behavior except that the edges can't be grabbed.
- You can paint the 'no-climp' label to all unlabled triangles by clicking the Apply 'no climb' to all unlabled surfaces button