User posts Evgeny Rodygin
13 March 2016 16:38
Hello and welcome to the forum.
We have a very similar example, but it works with bones. Take a look at this demo, please. Limits are defined inside the init_bones_info function, and the actual movement is performed in the move_bone method.
As for me, bones API is more suitable for such tasks, because it can use Blender's bone hierarchy and thus, when the root object moves, all its children are translated accordingly.
We have a very similar example, but it works with bones. Take a look at this demo, please. Limits are defined inside the init_bones_info function, and the actual movement is performed in the move_bone method.
As for me, bones API is more suitable for such tasks, because it can use Blender's bone hierarchy and thus, when the root object moves, all its children are translated accordingly.
13 March 2016 10:58
Hi,
Currently, we don't have special methods for precise multi touch processing, so you need to use builtin browser touch events. There is a changedTouches feld in the touch event. It can be used in combination with the pick_object method in the same way as if it was one touch. But go easy on the pick_object, because it is a pretty costly call.
Currently, we don't have special methods for precise multi touch processing, so you need to use builtin browser touch events. There is a changedTouches feld in the touch event. It can be used in combination with the pick_object method in the same way as if it was one touch. But go easy on the pick_object, because it is a pretty costly call.
13 March 2016 10:28
It's not a static or eye camera, and it has got limitations angles.So it is a target camera?
I assume, you have tried the set_translation method. It is used to give some delta to the current camera position. You need another method to set the exact camera location.
You can call for example this function. The third param is optional.
11 March 2016 10:59
09 March 2016 13:21
I opened the file and instantly found the "ringextend" Action in the NLA editor. Also i cant remember to name something "ringmenuAction". It seems blend4web was doing thatActually, it is a default Blender behaviour to name actions after objects they are attached to.
After changing it to the correct name, the animation starts but it doesnt finish. I expected it to play until the last frame (38) but it stops at about frame 5 and runs backwards then.1) NLA needs to be disabled in the Scene settings so that only Logic nodes control animations. And it is better to avoid using NLA animation at all in such application.
Edit: Also it ignores the first swich select node and starts without any action from the user right after loading. If you look close to the button you can see it. I uploaded the actual file.
2) Apply Scale and Modifiers flag should be replaced with the Apply Modifiers flag for the ringmenu object, because now the resulting object size depends on the active frame.
3) Again, correct animation names should be used in "Play Animation" nodes.
I corrected and attached the blend file.
09 March 2016 12:22
Hello,
We have a nice instancing example. It is acting just as you've described: https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=instancing
We have a nice instancing example. It is acting just as you've described: https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=instancing
09 March 2016 11:52
Hello and welcome to the forum.
I don't know which way you have chosen to setup vehicle controls, but I suppose, it was Logic Editor or Python scripting. None of this is supported in Blend4Web.
The easiest way to create vehicles controls with WASD in Blend4Web application is to call the m_app.enable_object_controls(vehicle_obj) function.
For more precise controls you need to setup you own sensor manifolds and use methods like this.
I don't know which way you have chosen to setup vehicle controls, but I suppose, it was Logic Editor or Python scripting. None of this is supported in Blend4Web.
The easiest way to create vehicles controls with WASD in Blend4Web application is to call the m_app.enable_object_controls(vehicle_obj) function.
For more precise controls you need to setup you own sensor manifolds and use methods like this.
09 March 2016 11:32
I opened the file and instantly found the "ringextend" Action in the NLA editor. Also i cant remember to name something "ringmenuAction". It seems blend4web was doing that.It is a name of the NLA strip, not an action. If you press N while in the NLA editing window and go to the Action Clip section you will notice that under the Action field there is a "CylinderAction". It can be changed to "ringmenuAction" with a dropdown menu. I don't know which one is required.
If you want to check which action is currently active for a specific object you need to open Dope Sheet and go to the Action Editor. For the ringmenu object it is a "ringmenuAction".
09 March 2016 11:25
How does one go about customizing the URL for the social media buttons which appear after clicking the 'open button'? For example, I would like the Facebook link to go directly to a specific page.I'm not sure what is "open" button, but I assume, you are talking about the webplayer application. There are two options to customize interface.
1) Change the webplayer application. You will have to take a look at apps_dev/webplayer folder. There are webplayer.html and webplayer.css files which describe html buttons behavior. Facebook button can be found there as "fb_button"
2) Create your own app from scratch. You can follow these tutorials:
https://www.blend4web.com/en/author/50/1/
"Furnishing a Room" application just has custom html buttons.
Also, is it possible to set the scene to load in low quality setting by default?Yes.
1) If you are customizing webplayer, you can change the DEFAULT_QUALITY variable to "LOW" in the webplayer.js file.
2) For a custom application you need to pass the "quality" param to the app.init function.
It should look like this:
m_app.init({
...
quality: m_cfg.P_LOW,
...
})