Difference between revisions of "Moving Objects Along Paths"

From Constructive Labs
Jump to navigation Jump to search
(Created page with "'''Waypoint''' - make these and then tell any object to move to them using the appropriate properties '''WarpMarker''' - click on this and be transported there and reparented")
 
Line 1: Line 1:
 
'''Waypoint''' - make these and then tell any object to move to them using the appropriate properties
 
'''Waypoint''' - make these and then tell any object to move to them using the appropriate properties
 +
 +
Waypoint - just create these using the menu.  I think I put them under "animation".
 +
 +
Edit the names of say 3 waypoints to be "A", "B:,"C" etc.  Position and rotate them as appropriate. 
 +
 +
There are options for time to reach the targeted position and time to reach target rotation - these control how fast the go to that waypoint and how fast it will turn to the target orientation. 
 +
 +
The '''nextwaypoint''' property controls which waypoint the object will go to after it reaches the current waypoint.  You can easily make a loop by specifying the next waypoint as being the starting waypoint etc.
 +
 +
On all objects there is a '''MovingToWaypoint''' flag and '''NextWaypoint''' field.  Set those appropriately and it will move.  They can also be controlled by wiring.
  
 
'''WarpMarker''' - click on this and be transported there and reparented
 
'''WarpMarker''' - click on this and be transported there and reparented

Revision as of 09:46, 29 April 2021

Waypoint - make these and then tell any object to move to them using the appropriate properties

Waypoint - just create these using the menu. I think I put them under "animation".

Edit the names of say 3 waypoints to be "A", "B:,"C" etc. Position and rotate them as appropriate.

There are options for time to reach the targeted position and time to reach target rotation - these control how fast the go to that waypoint and how fast it will turn to the target orientation.

The nextwaypoint property controls which waypoint the object will go to after it reaches the current waypoint. You can easily make a loop by specifying the next waypoint as being the starting waypoint etc.

On all objects there is a MovingToWaypoint flag and NextWaypoint field. Set those appropriately and it will move. They can also be controlled by wiring.

WarpMarker - click on this and be transported there and reparented