论坛

由用户创建的信息 Havokhin
22 October 2017 17:49
Hi all, after understanding material and lighting, I'm working on movements and animations, but now i'm stuck with two problems:

1) I successful followed this tutorial of Ian Scott:

https://www.youtube.com/watch?v=5VLt6szn6xE&feature=youtu.be

But I'm not able to find the right solution to create two different movements on suzanne when I click one of the cone (my example moving up and down while rotating).
I have attached an image with three different solution I tried (no one of them was right).

2) The second problem isn't a real problem; I have created some NLA animation of different objects, when I launch the "fast preview" blend4web" deploy them correctly, which is good. Now I want to control these NLAs clicking on a mesh like the cone of the first problem.
How I can "connect" these NLAs to a "button"? I made some tries with "play animation" and "play timeline", but I didn't understand how to do it.

Thanks in advance to everyone can help me to understand my problems.
10 October 2017 08:41
It works!
It's not tricky, just not easy to find

Thanks
09 October 2017 09:04
Hello community, I have a problem with shadows in blend4web and I hope you can help me.

I prepared a simple scene with a extremely simple model of a industrial machine to start learnirg blend4web. Now i'm working on the ligthing: I set a lamp with shadows on, cast and receive shadows on the mesh and the plane, but I don't see anything.
I tried to change clip start and end of the lamp, but nothing happens.

I'm doing it wrong, but I don't understand where.

I have attached the blend file, i think it's easier using the file itself.

Thanks in advance to everyone can help me to understand my errors