Forum

How to bind weapon or change cloth

29 January 2016 06:52
Is constraints Module API can do these things?
Is there any code snippet for referrence?
29 January 2016 09:48
Hello.

How to bind weapon
Is constraints Module API can do these things?

Yes, it can. You can use the "append_stiff_trans_rot" function to attach a weapon to a camera.


change cloth

For this task you can use canvas-textures or the "inherit_material" function.


Is there any code snippet for referrence?
Here is the canvas-texture example
And here is the inherit_material function example. Take a look at the planets.

Press the "view code" button to read the example code
 
Please register or log in to leave a reply.