Mohammad Hasan N.
Mohammad Hasan N.

Reputation: 224

AnyLogic: how to draw a horizontal cylinder in 3d view

Is there any way to demonstrate a cylinder which is laid down horizontally not vertically in 3d view? something like a roller.

Upvotes: 0

Views: 104

Answers (1)

Emile Zankoul
Emile Zankoul

Reputation: 2213

Yes there is. Drag and drop a shape of type oval, give it the Z-height you want. Then, create a group with nothing in it but the oval. Then, in the group properties, specify the field Rotation X, rad: or Rotation Y, rad: as 1.5708 which is equivalent to a 90 degrees rotation. If you want to rotate the cylinder in the XY plane after that, you can simply use the handle when you select the group in the graphical editor and rotate it manually.

Upvotes: 1

Related Questions