Форум

Сообщения, созданные пользователем Juani
01 октября 2017 13:33
Now I understand a little better the rotation quaternion, at right angles not appreciated but at angles inclined is totally different. Many thanks for your time.
Regards.
29 сентября 2017 23:59
Sorry but I do not understand very well what happens, I get the feeling that the anchor point is not correct.
29 сентября 2017 23:31
I have never used the Quaternion rotation, I use rotation Euler. I take it to ask if you could tell me any difference, I do not understand the Euler rotation. For what you comment, is that the rotation quaternion also counts the orientation?
29 сентября 2017 21:58
1) Is it correct that Blend4Web do not have a method to group meshes? For example, I wanted to group all the meshes to position the whole group in the center, but I could not find a way to do it.

List all objects in the scene by type or ID
link

2) I'm struggling to find a Javascript API method to get the width of an object. I understood that in 3d space I have to leave my bias and I should not search for the width, but for the dimension in one of the axis. I tried to use the get_object_bounding_box and the get_matrix methods, but my uncertainty about 3d concepts left me with nothing. How do you find, for example, the x dimension of an object?

This method returns a list with values {max_x, min_x, max_y, min_y, max_z, min_z}, here we have all the dimensions of the mesh. If for example I want to know what is the dimension of a cube on the x axis and the method says :
max_x: 10.25, min_x: 8.25, I do a mathematical operation 10.25 - 8.25 and the value I get is the dimension of the object on the x-axis.

3) Would you do this task, putting objects in row, in a different way?


I do not find a better method.
29 сентября 2017 21:06
Hello before doing the animation it is super important to apply objects to the rotation and scale, if you do not do this the objects in b4w go badly located or deformed.Apply the rotation and scale and do the animation again and you will have no problem.
Greetings.
26 сентября 2017 22:42
https://www.blend4web.com/en/forums/topic/3435/
19 сентября 2017 07:40
Thank you very much, it was as I thought.
18 сентября 2017 22:30
Hi, only dynamic objects with append_object () can be added to the scene? The console gave me the error that my cube was not dynamic, I made it dynamic and it works.
14 сентября 2017 19:37
Hello , I totally agree, the animation of BGE would be a background.
10 сентября 2017 18:37
Hi, I finally mastered gravity, how to work gravity in b4w is different from BGE, I made an example by applying torque at the same time as gravity. If we click on the letter 'o' the cube will rotate and rise, when we release the key the cube will fall. I put it in a web of my company, I do not know how to put the project for all to see.

www.excavacionestrapero.com/letra