cc.rotate3DBy in v2.2

cc.rotate3DBy in v2.2

Hi all and Happy New Year!

In preview mode, cc.rotate3DBy is working, but when I make a build I get an error Uncaught TypeError: cc.rotate3DBy is not a function.
I was checking in Cocos Creator v2.2.0 and v2.2.2 and the issue exists in both.
Any thoughts?

:man_facepalming: I forgot to include the 3d modules in the Project Settings. By default they were disabled.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.