Palvinder.
1) Create a new group-
2) Move the group to where you want the pivot point of your cylinder to be
3) Use addChild() to make the cylinder a child of the group, using the
#preserveWorld parameter
4) Rotate the group: the cylinder will rotate with it
Regards
Palvinder.
It doesn't matter if you want to rotate the cylinder or to modify its height.
If you cannot alter the pivot (of any 3D model) in your 3D modeler, James gave
you a good advice.
In your case, all you have to do is to modify the scale (on the desired
direction) of the group.
The cylinder (a child) must obey!
;)
cheers