modding:developerinfo:models

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
modding:developerinfo:models [2018/11/30 10:50]
tom
modding:developerinfo:models [2019/03/19 10:18] (current)
Line 55: Line 55:
   * ''​particleSystem''​   * ''​particleSystem''​
   * ''​soundConfig''​   * ''​soundConfig''​
 +  * ''​cameraConfig''​
 +
 == description == == description ==
  
Line 116: Line 118:
  
 Read more about soundSets [[:​modding:​developerinfo:​soundsets|here]]. Read more about soundSets [[:​modding:​developerinfo:​soundsets|here]].
 +
 +== cameraConfig ==
 +
 +The ''​cameraConfig''​ allows for setting multiple custom camera positions, which can be cycled when the onboard camera is active.
 +
 +<code lua>
 +    cameraConfig = {
 +        positions = {
 +            {
 +                group = 0,
 +                transf = transf.rotYCntTransl(math.rad(25),​ vec3.new(0, 0, 0), vec3.new(-15,​ 0, 9)),
 +                fov = 90
 +            }
 +        }
 +     }
 +</​code>​
  
 === Vehicles === === Vehicles ===
modding/developerinfo/models.txt · Last modified: 2019/03/19 10:18 (external edit)