Source language: Translate to:

About using MoveObjectAlongPath

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

About using MoveObjectAlongPath

Postby carlos torres » Tue Dec 11, 2012 2:51 pm

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 ?


User avatar
carlos torres
Posts: 289
Joined: Mon May 02, 2005 8:14 am
Location: Pamplona, Colombia

Re: About using MoveObjectAlongPath

Postby mishem » Tue Dec 11, 2012 3:40 pm

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" ""
Posts: 577
Joined: Mon Oct 08, 2012 1:51 pm

Re: About using MoveObjectAlongPath

Postby Neosoft Support » Wed Dec 12, 2012 11:12 am

You can use variables with MoveObjectAlongPath, but changing the contents of the variable while the object is moving will have no effect.
NeoSoft Support
Neosoft Support
NeoSoft Team
Posts: 5621
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests