I don't think you got me right. When the beam hits, I can calculate the position of the hit, but how can I calculate the slope of the surface that the beam hit?
Construct2notbadnow
Recent community posts
Hello, pixel rebirth. I would like to clarify the division of the model into meshes. If I understand correctly, when creating a b3dmodel object, meshes with a 3D model are created. As I understand it, each mesh has its own UID, and this may be the reason why the 3D model cannot be excluded for ray casting. I would like to clarify that if there are multiple objects in my model, will they be different meshes and how can I identify their UID? If so, it would be possible to customize the character by changing the transparency of the meshes, which would be very useful for developing changes to the model in real time.
Hello, pixel rebirth. I would like to clarify the division of the model into meshes. If I understand correctly, when creating a b3dmodel object, meshes with a 3D model are created. As I understand it, each mesh has its own UID, and this may be the reason why the 3D model cannot be excluded for ray casting. I would like to clarify that if there are multiple objects in my model, will they be different meshes and how can I identify their UID? If so, it would be possible to customize the character by changing the transparency of the meshes, which would be very useful for developing changes to the model in real time.
I have been observing this for a long time, especially with animated models. I downloaded this model and animated it using mixamo. Here is the link to the .capx https://disk.yandex.ru/d/fKS7S1Ne-F2KrA
I have a question. I know basic js, I have Java on pc, but I don't know some things.
1. If i create behavior for your plugin, and load to construct 2, will it work?
2. How I can do it? do I need a babylon.js SDK? Do I need to think babylon logic?
3.Your code is open? Can I open one C2ADDON file to look – how to work with your plugin?
At certain camera angles, parts of the model disappear. How can I fix this?