User Tools

Site Tools

Urban Games

modding:constructionbasics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
modding:constructionbasics [2020/07/01 00:46]
yoshi [UpdateFn]
modding:constructionbasics [2020/07/07 21:39] (current)
yoshi
Line 203: Line 203:
  
 <div tip 100%> <div tip 100%>
-There are two additional properties ''​params.paramX''​ and ''​params.paramY''​ that are controlled by keyboard keys. Per default the keys are <span key>​O</​span>/<​span key>​P</​span>​ and <span key>​Ü</​span>/<​span key>​+</​span>​. They each have steps of 2π/32 so that 32 steps can be mapped to a full rotation around an axis.+There are two additional properties ''​params.paramX''​ and ''​params.paramY''​ that are controlled by keyboard keys. Per default the keys are <span key>​O</​span>/<​span key>​P</​span>​ and <span key>​Ü</​span>/<​span key>​+</​span> ​or <span key>​[</​span>/<​span key>​]</​span>​ (depending on keyboard layout). They each have steps of 2π/32 so that 32 steps can be mapped to a full rotation around an axis.
  
 To support rotation around all three axis, encapsulate the transformation matrix of the model with the ''​rotateTransf''​ function ​ To support rotation around all three axis, encapsulate the transformation matrix of the model with the ''​rotateTransf''​ function ​
modding/constructionbasics.txt · Last modified: 2020/07/07 21:39 by yoshi