Cancel
Showing results for 
Search instead for 
Did you mean: 

PortalCrane move

Pioneer
Pioneer

as below shown, when portal move to "sp2" Along the track, the trolley  will move to "sp2"  direction  at the same time ,   how can I  modify  their  move.    I want to realize like this ,when portal move to "sp2"  the  trolley donot  move ,and when  portal reach "sp2"  then  the trolley   start to move , how can realize  this  ,thank you cery much

微信图片_20180521163022.png

and  I  have question two :  for example ,at one point,the  PortalCrane  is not idle ,but the "sp1" need the PortalCrane ,where I can see the  suspensory task?  (Forward Blocking List  or Backward Blocking List

I  donot see it)
Forward Blocking List

)

 

6 REPLIES

回复: PortalCrane move

Pioneer
Pioneer
anyone know

回复: PortalCrane move

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
have a look in the help: PortalCrane - Methods
You can move the axis of the crane separately using the method <portal>.moveToPosition and <portal>.moveHook
you need to observe the state of the portal to find the end of the movement; so you can program the movement of the crane in each axis
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

回复: PortalCrane move

Pioneer
Pioneer
no I can not control trolley move

回复: PortalCrane move

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

what is your command for moving the portal?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

回复: PortalCrane move

Pioneer
Pioneer
I have tried to use "moveto"、“movetoposition”、“moveToObject”,but they are all can not realize my wanted effect.
in this three when portal move , the trolley will move too; what I want is that when portal move ,the the trolley do not move and when portal reach destination ,he trolley start move

回复: PortalCrane move

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
if you use e.g.

<portal>.moveToPosition(100,oldY)

with oldY as the old trolley position (before starting the portal), only the portal should move
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net