Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

How to move a node along its axis?

$
0
0

Hi! How to change the local position of the node like if it were a user dragging the node in the veiwport window using a gizmo?

In other words, how do I move it taking into account the node's rotation? If I just use DzNode.setLocalPos() to move the node along, for example, the y-axis, adding DzVec3(0,5,0), it will just move the node up without taking into account its orientation.


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>