Difference between revisions of "Collision Painting"

From Wolfire Games Wiki
Jump to: navigation, search
(Unlabled: Added "Apply 'no climb' to all unlabled surfaces" description.)
(Configuration: Added description of colors, added some colors.)
Line 17: Line 17:
  
 
==Configuration==
 
==Configuration==
The parameter checked in the lower box will be applied to the triangles by painting.
+
The parameter checked in the lower box will be applied to the triangles by painting. The triangle will indicate it's parameter with a specific color when ''View Collision'' is checked.
 +
Each label's color is written between parentheses below. '''TODO: add a meaningfull 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 & colors'''
* '''Walkable:'''
+
* '''Walkable:''' (Green)
* '''Balance:'''
+
* '''Balance:''' ()
* '''Slide:'''
+
* '''Slide:''' ()
  
 
===Wall===
 
===Wall===
'''TODO: add and confirm the effects'''
+
'''TODO: add and confirm the effects & colors'''
* '''Wallrun:''' Allows wall running on those triangles if they're steep enough.
+
* '''Wallrun:''' () Allows wall running on those triangles if they're steep enough.
* '''No wallrun:''' Won't allow wall running on those triangles.
+
* '''No wallrun:''' () Won't allow wall running on those triangles.
* '''Ledge:'''
+
* '''Ledge:''' (yellow)
* '''Ragdoll:''' Character will ragdoll.
+
* '''Ragdoll:''' (Blue) Character will ragdoll.
* '''Ragdoll-death:''' Character will die.
+
* '''Ragdoll-death:''' (Blue) Character will die.
  
 
===Ceiling===
 
===Ceiling===
'''TODO: add and confirm the effects'''
+
'''TODO: add and confirm the effects & colors'''
* '''Ceiling:'''
+
* '''Ceiling:''' (Green)
 
===Unlabled===
 
===Unlabled===
'''TODO: Confirm the effects'''
+
'''TODO: Confirm the effects & colors'''
* '''Clear:''' Will reset to the default collision behaviour. The color of the triangles will be desaturated. '''TODO:Is the default collision set according to the triangle's steepness? Are the Desaturated colors really just the indication for default collision?'''
+
* '''Clear:''' (No color) Will reset to the default collision behaviour. The color of the triangles will be desaturated. '''TODO:Is the default collision set according to the triangle's steepness? Are the Desaturated colors really just the indication for default collision?'''
  
* '''No climb:''' Will make the character walk slower on steep triangles. Will redirect rolls to the slope's direction. Will make the character run downwards automatically if the slope's too steep. Will make the character Run downwards faster. '''TODO:Phrasing.''' '''TODO: Is that it?'''
+
* '''No climb:''' (Grey) Will make the character walk slower on steep triangles. Will redirect rolls to the slope's direction. Will make the character run downwards automatically if the slope's too steep. Will make the character Run downwards faster. '''TODO:Phrasing.''' '''TODO: Is that it?'''
 
** To paint the 'no-climp' collision to all unlabled triangles, click ''Apply 'no climb' to all unlabled surfaces''
 
** To paint the 'no-climp' collision to all unlabled triangles, click ''Apply 'no climb' to all unlabled surfaces''

Revision as of 22:21, 6 March 2018

The Collision Paint tool is used to set an object (TODO: Terrain?) trangle's behaviour upon impact with the player. TODO: What about NPCs?

How To Use

Collision Paint window
Collision Paint window

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
      • To set the range, move the slider to a value (between -1 & 1) TODO: How exactly does this work? why negative values?
  • To load press Load. Does nothing. TODO: Does it really do nothing?
  • When pressing Save, an error will appear. TODO: Does this really not work?

Configuration

The parameter checked in the lower box will be applied to the triangles by painting. The triangle will indicate it's parameter with a specific color when View Collision is checked. Each label's color is written between parentheses below. TODO: add a meaningfull way to see the colors. maybe like this ?

Floor

TODO: add and confirm the effects & colors

  • Walkable: (Green)
  • Balance: ()
  • Slide: ()

Wall

TODO: add and confirm the effects & colors

  • Wallrun: () Allows wall running on those triangles if they're steep enough.
  • No wallrun: () Won't allow wall running on those triangles.
  • Ledge: (yellow)
  • Ragdoll: (Blue) Character will ragdoll.
  • Ragdoll-death: (Blue) Character will die.

Ceiling

TODO: add and confirm the effects & colors

  • Ceiling: (Green)

Unlabled

TODO: Confirm the effects & colors

  • Clear: (No color) Will reset to the default collision behaviour. The color of the triangles will be desaturated. TODO:Is the default collision set according to the triangle's steepness? Are the Desaturated colors really just the indication for default collision?
  • No climb: (Grey) Will make the character walk slower on steep triangles. Will redirect rolls to the slope's direction. Will make the character run downwards automatically if the slope's too steep. Will make the character Run downwards faster. TODO:Phrasing. TODO: Is that it?
    • To paint the 'no-climp' collision to all unlabled triangles, click Apply 'no climb' to all unlabled surfaces