To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 2889
2888  |  2890
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Spinning Wheels
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Fri, 21 Sep 2001 09:13:25 GMT
Viewed: 
1881 times
  
In my work for animation, I need a standard for wheels location and
rotation.
I also want information on radius for each assembly (1 wheel + 1 tyre)
to be able to calculate rotation angle based on the movement of parent
vehicle object.

As a car has a front, it would be natural if front view means to look at
the front, and wheels are either not rotated along the y axis or rotated
180 deg's. Is it ok if I make shortcuts of 1 wheel + 1 tyre with this
one standard and add "0 RADIUS r" information in each shortcut?

I have made the following shortcuts:

0 Wheel Spoked Large with Tyre Black
0 RADIUS 53
1 16  10 0 0  0 0 -1 0 1 0  1 0 0  35.dat
1 0 12 0 0  0 0 -1 0 1 0  1 0 0  36.dat

0 Wheel Old with 12 Studs and Tyre
0 RADIUS 53
1 4  10 0 0  0 0 -1 0 1 0  1 0 0  715.dat
1 16 12 0 0  0 0 -1 0 1 0  1 0 0  36.dat

0 Wheel Old with 4 Studs and Smooth Tyre
0 RADIUS 30
1 4  10 0 0  0 0 -1 0 1 0  1 0 0  7039.dat
1 16 12 0 0  1 0 0  0 1 0   0 0 1  132-old.dat

0 Wheel Old with 4 Studs and Tyre Black
0 RADIUS 31
1 16  10 0 0  0 0 -1 0 1 0  1 0 0  7039.dat
1 0 12 0 0  0 0 -1 0 1 0  1 0 0  3483.dat

0 Wheel Centre Small with Tyre Black
0 RADIUS 18
1 16  8 0 0  0 0 -1 0 1 0  1 0 0  4624.dat
1 0   8 0 0  0 0 -1 0 1 0  1 0 0  3641.dat

2 1  0 -80 0  0 80 0
2 2  -40 0 0  40 0 0

If the movement of parent vehicle object relative to its parent [scene]
object is z LDU, the wheel rotation matrix should be:
1 0 0  0 cos(z/r) sin(z/r)  0 sin(z/r)*(-1) cos(z/r)
times its own rotation matrix relative to its parent (vehicle again)
object.
(r is radius of wheel, and angles are in radians)

Is that correct in all cases?



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR