tease 2004-01-22 - By Colin Holgate
Back >2) a script controls the rotation of each blind an interpolates it to rotate >in the facing front angle (the final resting amgle). But instead of >interpolatingTo (rotating) straightaway to a rest position, you've got a >spring like script that measures "momentum" and allows for the rotation to >exceed the the target rotation angle (facing front) and thus rebound back >upwards. Finally, another function degrades the angular momentum so that it >finally comes to rest at the face forward angle. > >just a guestimation. Is it even close?
Good grief, it could have been hard to do! No, I cheated quite a bit, and so only have to set the rotation of some models, and the positions of some others. Working out what those rotation and positions are was reasonably easy too. The arithmetic is very similar to a bouncing ball routine.
The entire script is 3K, which I think makes it a bit simpler than what would be involved in Havok. __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|