Community Forum

Translate function

Forum Overview >> Scripting

Created25.03.2014 04:43

Yhovanny Quintero (Unknown) 25.03.2014 04:49

Greetings, I need help on how I can move the X-translate of an object with the lua script, thanks. -

Excuse the bad English, translated with Google Translator. -

Manuel Leithner - GIANTS Software 25.03.2014 08:02

there are two options:

1. translate(nodeId, XValue, 0, 0); -- moves the node relative to the current position
2. setTranslation(nodeId, XValue, 0, 0); -- moves the node to the absolute position

Note: Log in to post. Create a new account here.