| |
PaperShip sample
-
Description
- This sample demonstrates the possibilities of moving an object along
the defined path, with simultaneous turning of the object in the
direction of movement.
Scenario
Actor: "Path" // Ship path
Commands:
Actor: "Ship" // Paper Ship
Commands:
0 999 FollowByNodes Path 0 1
|
 |
Notes
FollowByNodes and FollowByPath commands use the direction from
the first point of the path (in this example - 0) to the second, as
the starting direction.
So, in order for the actor to be oriented correctly relative the
path, it is necessary to position it in the first point of the path
and turn it towards the next point.
|
 |
|
|