Hot answers tagged

2

Depends how your engine works. Your player could be responsible for checking for ropes, or your ropes could be responsible for checking for the player. Either way, I think both your player and your rope are going to need to know that they're attached, so whichever way you choose, you're going to need to have an 'attach' function in both classes.


Only top voted, non community-wiki answers of a minimum length are eligible