shown in other instead.
Path body represents a spline along which an arbitrary rigid body can be moved. This type of body can be used to create a physically simulated train moving along the railtrack.
To connect a rigid body to a path body use a path joint.
- BodyPath class.
Assigning a Path Body
To assign a path body to an object via UnigineEditor perform the following steps:
- Select an object to assign a path body to.
- Open the Nodes window by pressing the N key.
- On the Body tab of the Nodes window select Type -> Path.
- Specify a *.path file.
- Set body's name and change other parameters if necessary.