Javascript : get world position 2018-07-04T10:50:03+00:00

FORUMS NOTCH General Javascript : get world position


  • Author
  • isaac
    Post count: 13

    I want to calculate acceleration of Object by Javascript.
    But if the target Object is attached on rotating (or moving) parent object’s edge,
    I’ll get value just “0” for target Object position by Javascript.
    (yes, relative position between parent object is not moving).

    So, How can I get a value of world position of the object?

    • This topic was modified 2 weeks, 3 days ago by  isaac.
  • Ryan Barth
    Post count: 62

    Hey Isaac,

    You should be able to use the NodeGetWorldPosition() function in Javascript – but if not in the next release there will be an option in the extractor for getting the world position.



  • isaac
    Post count: 13

    Oh! Thanx a lot!
    I got array of geometry position.

    Is there any complete API reference for Notch, except “LEARN -> MANUAL” ?

  • isaac
    Post count: 13

    By the way,
    How to get Rotation on World Axis?

You must be logged in to reply to this topic.