Blender Game Engine: draws contact points as sphere + line indicating the surface normal.
A screenshot can be found at http://www.pasteall.org/pic/80766 -- it's the yellow balls + lines.
Differential D925
Blender Game Engine: draws contact points as sphere + line indicating the surface normal. Authored by Sybren A. Stüvel (sybren) on Dec 4 2014, 1:35 PM.
Details
Blender Game Engine: draws contact points as sphere + line indicating the surface normal. A screenshot can be found at http://www.pasteall.org/pic/80766 -- it's the yellow balls + lines.
Diff Detail
Event TimelineComment Actions Hi Sybren, I just checked the code and it works ok. The feature is useful to verify contacts points. On the other hand, you shouldn't mix real implementation (in that case part inside of drawContactPoint function) with refactoring/cleaning the code. Campbell, could you clarify if it is necessary to split the modification in 2 differential tasks due to the above exposed? Apart from this, as refactor as implementation look good to me. Comment Actions Just the functionality in the patch. The clean-up of the code was submitted as separate patch (D954) and should be committed before this one. Comment Actions It's kind of related. Previously the colour was irrelevant, as it wasn't used. Now it is, and having the same colour as other visualisations is distracting. Because of this I made it a single patch. Comment Actions Committed in two parts, e5a852c3f38fc11f0cc2c8e5837a2fcd9721c9f8 (draw) and dd673337f1e07ea9c593b7182dbb28752da22a87 (change to yellow) |