http://jerome.le.chat.free.fr

Home > Blender > Scripts > wheel rotation - Configuration examples

wheel rotation - Configuration examples

Article Index
wheel rotation
Installation
Quick setup
Documentation
Configuration examples

The missing values have default values.

wheelNames=['marbles',['plane','follow']]
wheelList=[]
RotateZ='marbles'
OutOfTrue='nan'

Every object whom name begins with 'marbles' and 'plane' will be concerned.
Every object with 'marbles' in its name will steer (all the marbles will steer)
Every object whom name begins with 'plane' will follow the trajectory without spinning
Assuming that 'nan' is not in any of the 'marbles' and'plane' objects, none will be out of true.

wheelNames=['marbles',['plane','follow']]
wheelList=[['wheel_front_left','auto',True,5]]
RotateZ='marbles'
OutOfTrue='nan'

like the example above, plus the 'wheel_front_left' object. its diameters is retrieved automatically, it's a steering wheel, its a 5 degrees out of true wheel.

wheelList=['wheel_front_left','marble']
wheelList=[['wheel_front_left','auto'],'marble']
wheelList=[['wheel_front_left','auto',False,0],'marble']

the lines above have the same effects. diameter is auto, no steering, no out of true for both objects.

wheelNames=['wheels','wl_rear']
wheelList=[['wheel_front_left',10],['wheel_front_right',10],'plane']
RotateZ='wheel'
OutOfTrue=''
ootAngle=20.0

Every object whom name begins with 'wheels' or 'wl_rear' will be concerned.
'wheel_front_left' and right have a 10 B.U. diameter.
all the wheel and wheels objects have steering (keyword 'wheel' is common and overrides default values)
but the 'plane' object and the family of object 'wl_rear' won't steer.
all the wheels are out of true (20 degrees).

wheelNames=[['Sphere','auto'],['Cube','follow']]
RotateZ='FT'
OutOfTrue='DK'
ootAngle=10

result :

Dim lights Download Embed Embed this video on your site

the sphere is named SphereFT.001'
the little cylinder (a bit out of true) is named 'SphereFTDK''
the other cylinder : 'SphereFT'
the floating slab : 'Cube'



Last Updated on Friday, 09 October 2009 02:42  
Comments (1)
promo
1 Sunday, 17 November 2013 06:00
bosantos
There are no translations available.

hai Visit My Blog http://blenderengine3d.blogspot.com/