Python Scripting in MotionBuilder - 03 - Components and the Scene
2013 ж. 7 Нау.
8 838 Рет қаралды
Notes and source: awforsythe.com/tutorials/pyfbs...
Part Three dives into the major concepts necessary to understand how the scene is put together, and the common functionality inherent in all scene objects.
I thought I would never understand this stuff and you made me... closer to it ;) Thank you!
This tutorial series is insanely useful. Thanks man.
i don't do scripting but is there a way to contact hands and feet to elements? instead of "Floor Contact" in the modifier?
Hi Alex, thank you for being a guiding light for newbies when it comes to python in Mobu. Question: from pyfbsdk import * cube = FBModelCube ('test') cube.Show = True cube.Scaling = FBVector3d (10,10,10) FBShaderManager().CreateShader( 'BumpShader' ).Append (cube) #(above) this promptly appends the bump shader to the cube as it is created BUT if i don't append the cube during the creation of the shader FBshader.Append ( 'BumpShader' , cube )
shader = FBShaderManager().CreateShader('BumpShader') shader.Append(cube)