Rotate an object in 3D using the mesh points. NOT FOR 3D OBJECTS
it helped a lot, thank you!
Black screen is because you are adding this to 3D object. It's working, but only in sprite. I don't know if it should woking only in sprite, but it's working on that
it should work on anything that supports mesh. Indeed it shouldnt work on 3D Shape or 3D object
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)
Black screen here too.
Rotate 3D by Mikal seems to work better.
i have a black screen when i add the behavior.
Hi, can you report the issue on github and add a c3p file for repro so I can look into it?