Page 1 of 1

About using MoveObjectAlongPath

PostPosted: Tue Dec 11, 2012 2:51 pm
by carlos torres
Dear Sirs

It is possible to use variables within MoveObjectAlongPath instead of the long string of coordenates?

Code: Select all
MoveObjectAlongPath "MovingPoint" "8,460,92,422,169,404,261,396,356,399,459,413,526,431,583,458" "34" "Normal+LeftTop" ""


If you try to plot the parabolic trajectory you will need a very long string. Is possible to do something like this
Code: Select all
 MoveObjectAlongPath "MovingPoint" "[xPosition],[yPosition]" "34" "Normal+LeftTop" ""

and move the object programatically at real time ?

Regards

carlost

Re: About using MoveObjectAlongPath

PostPosted: Tue Dec 11, 2012 3:40 pm
by mishem
Code: Select all
SetVar "[Position]" "8,460,92,422,169,404,261,396,356,399,459,413,526,431,583,458"
MoveObjectAlongPath "MovingPoint" "[Position]" "34" "Normal+LeftTop" ""

Re: About using MoveObjectAlongPath

PostPosted: Wed Dec 12, 2012 11:12 am
by Neosoft Support
You can use variables with MoveObjectAlongPath, but changing the contents of the variable while the object is moving will have no effect.