Jump to content
  • Advertisement
  • entries
  • comments
  • views

Winding things up

Sign in to follow this  



Started experimenting with having the grapple rope wind around objects in the world, and got a bit carried away :)

I think it is working okay, although hard to be sure. At the moment there is no way to unwind the rope, so a little hard to be sure it is catching every case. I'm just doing a raycast along the segment, then finding the closest edge point on the shape that is hit to the ray intersection point to get the actual wind point. I need to do something like store a normal as well representing the direction it is wound, so I can later then test to see if a point has been "unwound" and needs to be removed from the list.

All this gets a lot harder when you consider attaching points to other moving objects, but I'll keep on it in a static environment first then see if it can be extended to cope with moving objects too. Bit simpler.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!