Hi, there! First of all, congratulations and thank you for developing this much needed plugin!
I am creating a 2.5D platformer, but, after implementing some basic functionality to make the camera follow the player, I noticed that the objects on the left or right border of the screen pop in instead of just being there. Any idea of how I can prevent that and make sure that objects within the camera view are always visible?
I've attached a gif to illustrate the issue. The issue is noticeable if you look at the floor close to the horizontal border the player moves toward.
Yes, I used the bounding box scale ACE. Here is a screenshot of a model at the right border, with its bounding box scale set to 2x:
I've noticed that this behavior during runtime is very similar to what happens to 3D models in the layout editor. Here is a gif to illustrate what I mean (I'm scrolling the layout manually with the mouse):
I don't know if seeing the same symptom happening in the layout editor might give us any clue, but I thought I should include this. Perhaps this is caused by some project setting?
Can you send me a simple test project with your models showing this issue? I can take a better look at it that way. Layout debug may not help since you can't use the ACE. I send sendgb.com to share files temporarily.
secondary nodes seem to light weird. notice that when I export just one node (the sprockets here) they light fine on their own. any idea? (the turret is it's own object so is unrelated to the body) It must be related to my object as testing with the clerk model from your examples is fine. But I don't what property of my object could be influenced by the other nodes
there was no lighting but I figured it out. I had a mesh with a material but no texture. and that dark blue in the picture was the same base color of that material.
I don't know why it overrode other materials (and only on nodes not the first one selected) but that was it
i dont know where should i post this comment on 3D object plugin or 3D physic plugin xD, my question is how can i update bounding box while 3D object animation play?
ah that was it. I did not know that was even an export setting. It seems to have been added in Blender 4.0 as this was never an issue in 3.0 up. For anyone else that has this issue. You can find it here in Blender 4.X export settings.
I see what you want to do, this takes some 3d math to do. I will add an ACE to set a quaternion, but then you need to do the 3d math to set it properly. Probably will add next week.
It just picks a point in the mesh defined by the number and position of the point in the mesh list of points.
If you want to be more specific create a very small box and attach it to the model where you want the node to be, so that any of the points will be close to the location desired.
Also be aware that this may not work in gpu skinning. Instead use static geometry setting when this is needed.
I'm working on a simulation game about a children's playground, but it will take a while (only 30% of the progress is done at the moment).
Due to the fact that there are a lot of 3D models used (about 30 different models), the performance will need to be optimized again later on (the image only show 1/5 of the game as it is still being designed).
I'll share it with you later if it's done.
Thank you very much for the addon, it makes it easier to make 3D games!
Hello! I would like to be able to rotate a 3d shape eg prism, about a 60 degree axis (the blue line) to go from position A to position B in the diagram.
I have tried every way to alter rotation but can't achieve this. please help.
Hello! how can I change the appearance of a 3dobject during runtime? I have tried load material from sprite but I can't get that to work, and load material but I can't get that to work either. Thanks!!!
Hi, I noticed an unpleasant bug, I load the character into the game and everything works fine, but if you add him to the Family, then his legs disappear
Does the family have an effect or something like that? If so, can you say which one and if you want me to take a further look a small repro would help debug.
You can send me the project via DM over at the Construct Community Discord server (to Mikal). If you are ok sharing a simple test project publicly, you can use sendgb.com to send files and share the link here.
Hello, can you show me using a small example in Construct 3 engine, how to display 3D models and animations for all players using the Photon Engine multiplayer plugin.
tried different options. And for the first person who entered the room, his 3D avatar is displayed, but for all subsequent ones, it is not displayed, as well as the animations that are triggered.
I do not use the Photo Engine plugin, so I am not sure what might be causing the issue. Does it already work using sprites for players instead of 3DObject?
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hi. I don't remember when this might have appeared. I don't use this effect at all. i have only 5 different 3Dobjects on a location.
I see a message in the console
"plugin.js:130 [3DObject] shader mikal_frag_light-8 not found"
how clean it?
Does it still render ok, or does it stop working? If it is still working, just ignore that message.
Ah.ok. Yes work fine.
Hi, there! First of all, congratulations and thank you for developing this much needed plugin!
I am creating a 2.5D platformer, but, after implementing some basic functionality to make the camera follow the player, I noticed that the objects on the left or right border of the screen pop in instead of just being there. Any idea of how I can prevent that and make sure that objects within the camera view are always visible?
I've attached a gif to illustrate the issue. The issue is noticeable if you look at the floor close to the horizontal border the player moves toward.
Try scaling the bounding box using ACEs and also use C3 debug mode to check the current bounding box.
Thank you for getting back to me on this!
I tried setting the bounding box scale of those 3d models, but no luck. I even tried absurd numbers like 100, but to no avail.
Any other suggestions?
Did you try the bounding box scale ACE? Did you look at the objects bounding box in debug? Can you post a screenshot of that neat the edge?
Yes, I used the bounding box scale ACE. Here is a screenshot of a model at the right border, with its bounding box scale set to 2x:
I've noticed that this behavior during runtime is very similar to what happens to 3D models in the layout editor. Here is a gif to illustrate what I mean (I'm scrolling the layout manually with the mouse):
I don't know if seeing the same symptom happening in the layout editor might give us any clue, but I thought I should include this. Perhaps this is caused by some project setting?
Can you send me a simple test project with your models showing this issue? I can take a better look at it that way. Layout debug may not help since you can't use the ACE. I send sendgb.com to share files temporarily.
secondary nodes seem to light weird. notice that when I export just one node (the sprockets here) they light fine on their own. any idea? (the turret is it's own object so is unrelated to the body) It must be related to my object as testing with the clerk model from your examples is fine. But I don't what property of my object could be influenced by the other nodes
to add on to this the model loads fine on the tester sites
How are you doing lighting? Is it enabled on all the objects? Do you have any shaders for materials? Bump maps, etc., are not supported.
there was no lighting but I figured it out. I had a mesh with a material but no texture. and that dark blue in the picture was the same base color of that material.
I don't know why it overrode other materials (and only on nodes not the first one selected) but that was it
Good job figuring it out.
i dont know where should i post this comment on 3D object plugin or 3D physic plugin xD, my question is how can i update bounding box while 3D object animation play?
Are you using gpu skinning support? You may need to use static geometry instead.
okey thank you!
hey I got this error after installing the 2-27-0 version
Try the latest version uploaded.
https://kindeyegames.itch.io/c3-3dobject-alpha/devlog/828933/fix-addon-fix-corru...
Apologies if the addon was corrupted for you; use safe mode to uninstall the addon:
https://www.construct.net/en/make-games/manuals/addon-sdk/guide/safe-mode
thank you! it works now
I am getting an error and I am not sure what it means.
When I set the object source in C3 I get "error: gltf, unhandled bufferView, try exporting gltf without using sparse accessors"
The model loads fine on the tester sites. the error it gives me is "
0
UNUSED_OBJECT
This object may be unused.
2
/meshes/0/primitives/0/attributes/TEXCOORD_0
" But I Don't know what that means.
I uploaded the file I am testing if you wanted to look at it.
https://drive.google.com/file/d/1JPLh9YELbWTffP7mHefZT7v2FmyJtujR/view?usp=shari...
Hmm, you could try importing to blender and then exporting, but change the export properties to not allow sparse accessors.
ah that was it. I did not know that was even an export setting. It seems to have been added in Blender 4.0 as this was never an issue in 3.0 up.
For anyone else that has this issue. You can find it here in Blender 4.X export settings.
Great, thanks for adding the picture.
Try this with the original file:
https://kindeyegames.itch.io/c3-3dobject-alpha/devlog/828684/fix-accessors-add-s...
that fixed the issue
thanks again
https://sendgb.com/UWXo3nvhNTx
, here is link...
I see what you want to do, this takes some 3d math to do. I will add an ACE to set a quaternion, but then you need to do the 3d math to set it properly. Probably will add next week.
ok thanks
Ok, I looked and the ACE is already there. Use Enable Quaternion and Set Quatrenion.
Set quaternion uses this format: "[x,y,z,w]", where x,y,z,w are the values of the quaternion.
You can use JS to create the quaternion using the globatThis.glMatrix libraries, they are documented here:
You could try:
setAxisAngle(out, axis, rad)
https://glmatrix.net/docs/module-quat.html
thanks
Hi, thanks for your reply, here is a test .....
https://drive.google.com/file/d/1Z3WFFDmTIyCTQur6u1Bz4tMStKRL2iF4/view?usp=drive...
original question....
I have tried every way to alter rotation but can't achieve this. please help.
I don't have access to the file. I use sendgb.com to send files without sign in needed.
question about the NodePointPosition("name",num) expression.
How do you set a point on a model? if I load the model used in the example I don't see a point where the effect is.
It just picks a point in the mesh defined by the number and position of the point in the mesh list of points.
If you want to be more specific create a very small box and attach it to the model where you want the node to be, so that any of the points will be close to the location desired.
Also be aware that this may not work in gpu skinning. Instead use static geometry setting when this is needed.
Hi kindeyegames,
Has the method of calling disable node changed since version "3DObject-2-71-7"? Disabling nodes with no animations models doesn't work now.
Please check the demo file blow with the latest version(2-71-8) and also "2-71-1"of the addon.
3DObjectNodeDisable.c3p
https://kindeyegames.itch.io/c3-3dobject-alpha/devlog/816403/fix-node-disable-fi...
It's ok now, thanks!
Great! Also any image to share from your game, always interested to see what folks are doing with the addon.
Hi kindeyegames,
I'm working on a simulation game about a children's playground, but it will take a while (only 30% of the progress is done at the moment).
Due to the fact that there are a lot of 3D models used (about 30 different models), the performance will need to be optimized again later on (the image only show 1/5 of the game as it is still being designed).
I'll share it with you later if it's done.
Thank you very much for the addon, it makes it easier to make 3D games!
Cool, looks fun!
Hello! I would like to be able to rotate a 3d shape eg prism, about a 60 degree axis (the blue line) to go from position A to position B in the diagram.
I have tried every way to alter rotation but can't achieve this. please help.
Can you share a test project with the object you are trying to do the rotate. It may be specific to what the 3d model is using for a 'center'
Hello! how can I change the appearance of a 3dobject during runtime? I have tried load material from sprite but I can't get that to work, and load material but I can't get that to work either. Thanks!!!
Hello, great addon! I would like to know it an axis of rotation could be set to 60 degrees, to rotate a 3d object around.
Not exactly sure what you mean, but there is a rotation ACE.
thanks for your message. I would like to rotate this red triangle about the blue line as an axis of rotation, is that possible?
In this case, try the ACE rotation with different values and see if you can get what you want.
Hi, I noticed an unpleasant bug, I load the character into the game and everything works fine, but if you add him to the Family, then his legs disappear
Does the family have an effect or something like that? If so, can you say which one and if you want me to take a further look a small repro would help debug.
I've now overwritten it, it's not from the family, but because of the GPU settings skinning is True
I can't send the C3 project file here
You can send me the project via DM over at the Construct Community Discord server (to Mikal). If you are ok sharing a simple test project publicly, you can use sendgb.com to send files and share the link here.
The hero of the community!
Is it possible to influence the bones of 3D objects? For example, to make a ragdoll
No, it is not. You could connect separate 3d objects with physics / joints to make a rag doll though.
ok)
Hello, can you show me using a small example in Construct 3 engine, how to display 3D models and animations for all players using the Photon Engine multiplayer plugin.
tried different options. And for the first person who entered the room, his 3D avatar is displayed, but for all subsequent ones, it is not displayed, as well as the animations that are triggered.
I do not use the Photo Engine plugin, so I am not sure what might be causing the issue. Does it already work using sprites for players instead of 3DObject?
how to fix it? i (just tryed to export android game)
This is not related to the addon. Pleaae contact C3 support.