animationTransform

animation position in scene

value

as: |animation|source|sourceAngle|

atributes

  • *1 animation [animation]
  • source [point|vector] entering point
  • sourceAngle [Float:0f] entering angle //degrees
  • removeAfterPlay [Boolean:false] entering angle //degrees
  • autoplay [Boolean:false] true: play when player reach area, false: play after [E]
  • active [Boolean] true
  • x [Float:0f] source x
  • y [Float:0f] source y
  • z [Float:0f] source z

nodes

actions

  • onEnter
  • onExit

control

  • on()
  • off()

Examples

animationTransform(up, sourceAngle:44f,
                   source: _point(x:3f, y:0f, z:6f));
animationTransform(down, sourceAngle:69f,
                   source: _point(x:4f, y:1f, z:4f));