Accurate Path Movement Utilizing Waypoints

4

Attached Files

The following files have been attached to this tutorial:

.capx

accuratewaypointmovement.capx

Download now 174.56 KB

Stats

4,410 visits, 6,560 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 5 Feb, 2015. Last updated 19 Feb, 2019

This example is an implementation of a highly accurate path movement system whereby designated objects cyclically follow a set of waypoints in straight lines.

Unlike other methods where arrival at a waypoint is determined by either collision with the waypoint or being within a certain distance of the waypoint, this method provides two main benefits:

1. Objects following the paths are guaranteed to pass through the exact center of each waypoint.

2. There are no limits on how fast the objects can move -- positions are correctly and accurately determined every frame based on path shape.

Recommended for intermediate users. Some unusual methods are used to get around C2's sometimes awkward object picking.

.CAPX

accuratewaypointmovement.capx

Download now 174.56 KB
  • 1 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • linkman2004 Sorry for this comment, but with your Construct Classic addon, CommandLine, is it possible to execute a file inside of the construct project?