Yes, you can rotate camera around the z axis. I recommend looking at the Construct 3 manual page on the 3DCamera object, check out some of the look at ACEs (you'll need to use math to calculate the rotation)
i love use this plugin. Will there be an update for SDK v2 in the future? because I got a notification like this, in the future if c3 removes the addon sdk v1, will this plugin also develop?
previewWindow.js:1 [C3 preview] Browser opened wrong size popup: wanted 854 x 480, got 854 x 479; resizing to compensate
local.html:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
plugin.js:8 opts Object
plugin.js:171 [3DObject] allow gpu skinning
plugin.js:188 [3DObject] shader mikal_frag_light-8 not found
Object3DPlugin @ plugin.js:188Understand this warning
40[.WebGL-0x2b14000d4600] GL_INVALID_OPERATION: glDrawElements: It is undefined behaviour to have a used but unbound uniform buffer.Understand this warning
40[.WebGL-0x2b14000d4600] GL_INVALID_OPERATION: glDrawElements: It is undefined behaviour to have a used but unbound uniform buffer.Understand this warning
plugin.js:47 [3DObject] Dummy UBO for bones created and bound.
instance.js:71 Monkey patching C3 renderer...
instance.js:174 Uncaught (in promise) TypeError: this._ExtendQuadBatch is not a function
at C3.Gfx.WebGLRenderer.Quad3D2 (instance.js:174:12)
at i.Plugins.Shape3D.Instance._DrawFace (runtime.js:1:7650)
at i.Plugins.Shape3D.Instance.Draw (runtime.js:1:5856)
at C3.Instance.Draw (instance.js:1:4154)
at C3.Layer._DrawInstance (layer.js:1:29009)
at C3.Layer._DrawInstanceMaybeWithEffects (layer.js:1:28891)
at C3.Layer._DrawInstances_3DCamera (layer.js:1:27673)
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
is it possible to realize the parameter of 3D camera rotation by Z?
Yes, you can rotate camera around the z axis. I recommend looking at the Construct 3 manual page on the 3DCamera object, check out some of the look at ACEs (you'll need to use math to calculate the rotation)
i love use this plugin. Will there be an update for SDK v2 in the future? because I got a notification like this, in the future if c3 removes the addon sdk v1, will this plugin also develop?

no, sdk v2 did not get the requested features to support this addon
2-75-4 is the last one that works for me.
Can you send details about your test system (OS, Browser, GPU, C3 version, 3DObject version) and the errors you see in the console?
Windows 11

Firefox and Edge
rtx3060
Happens on 440.2 Stable and r446
3DObject 2-75-10, fraglight 8-2.8.1, 3dphysics 2.24.2
worker and webgpu off
My test file is https://www.mediafire.com/file/hrnjo7r2q5tmauo/TEST.c3p/file
Enabling each one breaks something different.
Uncaught (in promise) TypeError: renderer.SetUniformMatrix4fv is not a function render https://preview.construct.net/gltfModel.js:267
Draw https://preview.construct.net/scripts/plugins/Mikal_3DObject/c3runtime/instance....:285
Draw https://editor.construct.net/r440-2/preview/objects/instance.js:1
drawContent https://editor.construct.net/r440-2/preview/objects/instanceEffectList.js:1
_DrawContent https://editor.construct.net/r440-2/lib/gfx/effectCompositor/effectChain.js:1
_Render_FastPath https://editor.construct.net/r440-2/lib/gfx/effectCompositor/effectChain.js:1
Render https://editor.construct.net/r440-2/lib/gfx/effectCompositor/effectChain.js:1
_DrawInstanceWithEffects https://editor.construct.net/r440-2/preview/layouts/layer.js:1
_DrawInstanceWithEffectsAndRestore https://editor.construct.net/r440-2/preview/layouts/layer.js:1
_DrawInstanceMaybeWithEffects https://editor.construct.net/r440-2/preview/layouts/layer.js:1
_Draw3DLayers https://editor.construct.net/r440-2/preview/layouts/layout.js:1
_DrawLayerList https://editor.construct.net/r440-2/preview/layouts/layout.js:1
DrawMain https://editor.construct.net/r440-2/preview/layouts/layout.js:1
_Render https://editor.construct.net/r440-2/preview/runtime.js:1
Render https://editor.construct.net/r440-2/preview/runtime.js:1
Tick https://editor.construct.net/r440-2/preview/runtime.js:1
normal https://editor.construct.net/r440-2/preview/runtime.js:1
Thank you for this, please try the latest (2-76-2)
Hi, it's the same. Enabling all or even each one of these on my test has the same bugs and errors.
Argh, ok, will take a new approach to this. Thanks for your patience, reports and examples.
When i try open my project in relase 441 or more i always receive black screen in preview. someone also have this problem? Console shows:
[SW-Preview] Up to date
bootPreview.js:105 Registered service worker on https://preview.construct.net/
previewWindow.js:1 [C3 preview] Browser opened wrong size popup: wanted 854 x 480, got 854 x 479; resizing to compensate
local.html:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
plugin.js:8 opts Object
plugin.js:171 [3DObject] allow gpu skinning
plugin.js:188 [3DObject] shader mikal_frag_light-8 not found
Object3DPlugin @ plugin.js:188Understand this warning
runtime.js:1 [C3 runtime] Hosted in worker, rendering with WebGL 2 [ANGLE (NVIDIA, NVIDIA GeForce RTX 4070 (0x00002786) Direct3D11 vs_5_0 ps_5_0, D3D11)]
40[.WebGL-0x2b14000d4600] GL_INVALID_OPERATION: glDrawElements: It is undefined behaviour to have a used but unbound uniform buffer.Understand this warning
40[.WebGL-0x2b14000d4600] GL_INVALID_OPERATION: glDrawElements: It is undefined behaviour to have a used but unbound uniform buffer.Understand this warning
plugin.js:47 [3DObject] Dummy UBO for bones created and bound.
instance.js:71 Monkey patching C3 renderer...
instance.js:174 Uncaught (in promise) TypeError: this._ExtendQuadBatch is not a function
at C3.Gfx.WebGLRenderer.Quad3D2 (instance.js:174:12)
at i.Plugins.Shape3D.Instance._DrawFace (runtime.js:1:7650)
at i.Plugins.Shape3D.Instance.Draw (runtime.js:1:5856)
at C3.Instance.Draw (instance.js:1:4154)
at C3.Layer._DrawInstance (layer.js:1:29009)
at C3.Layer._DrawInstanceMaybeWithEffects (layer.js:1:28891)
at C3.Layer._DrawInstances_3DCamera (layer.js:1:27673)
at C3.Layer.Draw (layer.js:1:26158)
at C3.Layout._DrawLayerList (layout.js:1:24177)
at C3.Layout.DrawMain (layout.js:1:23029)
I don't see it on my simple test projects.
If you have a test project for me to try, please share.
i add one GLB model file and nothing more, preview cause black screenexample you can download here: https://drive.google.com/file/d/1MRyHZvYAUpO6FdNsrtlAfDboju97Jbee/view?usp=shari...