Rotate an object in 3D using the mesh points. NOT FOR 3D OBJECTS.
When I'm adding it to 3D object i'm getting this error:
Uncaught (in promise) Error: object does not support mesh
at C3.WorldInfo.CreateMesh (worldInfo.js:1:26367)
at self.I3DShapeInstance.createMesh (IWorldInstance.js:1:6601)
at self.ISDKBehaviorInstanceBase._SetMeshFromPoints (main.js:1:2352)
at self.ISDKBehaviorInstanceBase._postCreate (main.js:1:734)
at C3.BehaviorInstance.PostCreate (behaviorInstance.js:1:1391)
at C3.Instance._OnCreatedCommon (instance.js:1:13116)
at C3.Instance._TriggerOnCreated (instance.js:1:13212)
at C3.Layout._StartRunning (layout.js:1:15382)
at async C3.Runtime.Start (runtime.js:1:19096)
at async C3.Runtime.Init (runtime.js:1:12334)
this is not meant to be used on 3D objects. If you want a 3D rotate for 3D objects, use this: kindeyegames.itch.io/construct-3-rotate-3d-behavior