Jump to content

Pi-MoveTo


Rick
 Share

Recommended Posts

File Name: Pi-MoveTo

File Submitter: Rick

File Submitted: 16 Jan 2010

File Category: Lua Scripts

 

This will move a body with SetPosition() as long as the Thingoid you are moving has a object:GetBody() method. Works well with Pi-Body.

 

Target 0 is the body to move.

All the other targets should be Pi-Pivot (1-6) is the points to move between. In the code you can change between Reverse or Loop. This determines what will happen when it reaches the last Pi-Pivot. This will be a setting in the next version.

 

Click here to download this file

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...