synap5e / momentum

First person physics speedrunning game for MDDN 343/COMP 313 Computer Game Development
Other
55 stars 7 forks source link

Physics iteration #18

Closed synap5e closed 9 years ago

synap5e commented 9 years ago

Fixed ground collision so that it is now a box Better checkpointing:

  • Player can jump off objects in layer 'Ground', also should have the tag ground
  • Player is respawned on objects with tag 'Instant Kill' (no layer requirements).
  • Player respawn point is set on colliding with object with 'Checkpoint.cs' script attached. Checkpoint can specify respawn object or if left unset will use the closest object with 'Respawn' tag. Any specified respawn objects and all with the tag 'Respawn' will be hidden. It is best to tag all respawns as "Respawn", but not to rely on the "choose nearest if not set" functionality.