From: Alan Gifford (agifford++at++houston.rr.com)
Date: 07/11/2004 16:48:40
I have written a simple program to simulate gravity of a number of
objects of given mass. Some of the models are much larger than others,
so I have to scale them to get the scene to be useable. I was thinking
that since I am setting the scale of the pfDCS to which the model is
attached, that all my position settings to the pfDCS will be likewise
scaled. This I do not want, for it would change the distance that
something is supposed to be moved based on the scale of the model, which
has nothing to do with the actual physics that I am simulating.
Would it be proper then to create a pfDCS for the position, leave its
scale at 1.0, and attach to it another pfDCS (to which the model is
attached) whose scale is changed? I ask because I have done it both
ways, and I'm having problems with the latter method (unfortunately I
changed other things which could instead be causing the problem), but
the previous method of using only one pfDCS seems to work properly,
despite the fact that the scales are off (in the one test I did) by a
factor of 1000.
Thanks in advance for any help.
Alan
This archive was generated by hypermail 2b29 : Sun Jul 11 2004 - 16:49:24 PDT