Skip to content

All Comments

14641 to 14660 of 19728

Filter comments

Daniel's NL2 Stuff - NEW: Convert Images to Objects!
Scripting

If there would be a good understandable way to set this as an option in the user interface of NL2, I would have implemented this behavior as well already. ;-)

To do it in the script it is very easy, actually just having this is simpler than the current implementation, you would just have to apply the whole track matrix to the object and that's it.

But to make use of the current implementation in the script it is probably better to use Tools.matrixToPitchHeadBankPos(nlvm.math3d.Matrix4x4f mIn, nlvm.math3d.Vector3f pitchHeadBankOut, nlvm.math3d.Vector3f posOut) to set the vectors to the rotation (pitch head bank) and position simultaneously in TrackMovement.setToPositionFrom(...). Then just passing also the restedRotation Vector3f analogous to how it is done with the restedTranslation from the ScoAnimation to this method should be enough I guess.

View comment
14641 to 14660 of 19728