Forum: Poser - OFFICIAL


Subject: How do I make a ball spin automatically by changing its x position in Poser?

acrionx opened this issue on Feb 15, 2011 · 15 posts


acrionx posted Wed, 16 February 2011 at 1:23 AM

Quote -  like the above? at x=0, zrot=0 . at x=pi*d, zrot=-360.

 

Yes, exactly.  Here is a simple wheel and axle figure I made to try out the codes with.  It worked! . . .  Well, sort of.   It only works correctly when moving toward the positive x and y directions.   Once you unzip to your Runtime directory, the figure can be found in the Acrionx->WheelAxle folder.

I have this in the .cr2 file for the wheel's rotation: rotateZ zrot { name zrot initValue 0 hidden 0 forceLimits 0 min -360000 max 360000 trackingScale 1 keys { static 0 k 0 0 } interpStyleLocked 0 valueOpDeltaAdd Figure 1 Axle:1 xtran deltaAddDelta -360.000000 } rotateZ zrot { name zrot initValue 0 hidden 0 forceLimits 0 min -360000 max 360000 trackingScale 1 keys { static 0 k 0 0 } interpStyleLocked 0 valueOpDeltaAdd Figure 1 Axle:1 ztran deltaAddDelta 360.000000 }

www.acrionx.com | My Freebies | My Store | My Youtube Channel