右击驱动该杆的Motion: MOTION_1,选Modify,弹出Joint Motion对话框,在Function (time)后填写:60d*SIN( time*360d/3 ),如下所示.进行9秒的仿真,可见杆摆动120度后又摆回来,一共摆动3次.
Joint Motion
Name MOTION_1
Joint JOINT_1
Joint Type revolute
Direction Rotational
Define Using Function
Function (time) 60d*SIN( time*360d/3 )
Type Displacement
Displacement IC
Velocity IC
OK Apply Cancel