Modifiers - Aeroluna/Heck GitHub Wiki

Modifiers allow you to do basic arithmetic on points. How these modifiers interact can be defined using operations and are done componentwise. These include:

  • opNone
  • opAdd
  • opSub
  • opMul
  • opDiv

The true value of modifiers are useful when using base properties which allow referencing some provided values which updates dynamically. This allows for things like following the HMD or setting an object's color to the player's note color. All base properties start with the 'base' prefix.

ex:

{
  "b": -1,
  "t": "AnimateTrack",
  "d": {
    "track": "tutorialnote0",
    "color": ["baseNote0Color", [ 0.4, 0.4, 0.4, 1, "opMul"]] // take the color of left hand notes, and multiply the the rgb values by 0.4
  }
},
{
  "b": 48,
  "t": "AnimateTrack",
  "d": {
    "track": "tutorialnote1",
    "color": ["baseNote1Color"] // just use the right hand note color
  }
},

Noodle Extensions

  • baseHeadPosition
  • baseHeadLocalPosition
  • baseHeadRotation
  • baseHeadLocalRotation
  • baseHeadLocalScale
  • baseLeftHandPosition
  • baseLeftHandLocalPosition
  • baseLeftHandRotation
  • baseLeftHandLocalRotation
  • baseLeftHandLocalScale
  • baseRightHandPosition
  • baseRightHandLocalPosition
  • baseRightHandRotation
  • baseRightHandLocalRotation
  • baseRightHandLocalScale

Chroma

  • baseNote0Color
  • baseNote1Color
  • baseObstaclesColor
  • baseSaberAColor
  • baseSaberBColor
  • baseEnvironmentColor0
  • baseEnvironmentColor1
  • baseEnvironmentColorW
  • baseEnvironmentColor0Boost
  • baseEnvironmentColor1Boost
  • baseEnvironmentColorWBoost