+1 vote

Hello how are you?, I hope very well.


I've been trying to make a 2D net for my basketball hoop for days with many failed attempts.

Tried with skeletons, bones, 2D softbody(youtube tutorial), ragdoll style bodies and all failed attempts

I'm new to Godot engine and I don't have much knowledge yet.

Could you give me an idea how to do it?

I leave attached the net that I would like to recreate, but really as it is, I wanted to do it, but it can be done.


in Engine by (13 points)

What kind of net do you want to make? use "Sprite sheet" or
"Search" = "Rigidbody rope"

1 Answer

0 votes

I have an idea. Have 4 points. The 1 and 3 are the top left and top right corners of the net. The 2 and 4 are the bottom corners. Have 2 RigidBody2D polygons going from top left to bottom left and top right to bottom right. Then have a mesh texture that has its four corners attached to the corners. Make sure that the RigidBody2Ds are attached to the top left and right corners respectively with PinJoints and are allowed to freely rotate. Then have the two RigidBody2Ds be attached by their bottom corners to each other with a SpringJoint. Set the 2 and 4 (bottom) corners to be the position of the bottom end of the RigidBody2Ds. That might work.

by (573 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.