Sync Tutorial - Editing the Player's Ship
Now we are going to edit the parameters of the Player's Ship under the Edit Tab.
Under the Scene Object tab, change the layer of the ship to 5.
Under the Scripting  tab change the Name of the ship to playerShip, and the Class to playerClass.
Changing the Layer controls which layer renders first, with the lowest layer rendering first.
Now we are going to edit the collision parameters for the Ship.
We need to make sure the ship sends out collisions as well as receives them.
The Ship however will not react to physics since we are only using the collisions to tell when the ship gets hit by enemy fire.
Our own ship will also be shooting bullets so it is important that our own bullets do not damage our own ship.  Therefore we are going to turn of the collision our ship takes from layer 5.
Now we are going to change the shape of the collision of the ship.
Select the Ship and go into the collision editor.
Now click to add anchors for the collision path, and make it similar to the one shown below.
Next Page
Previous Page