#PhysicalBone2D
17 messages · Page 1 of 1 (latest)
Sup waffleman, did you ever get it to work?
If not, did you find a workaround? Even a horribly inefficient and stupid one, I'm very desperate rn
@frigid wharf I haven't got it to work yet
I put it away for a bit and started working on something else
I just went back to it today actually, but instead of using the physical bone, I'm just going to see if I can make a hinge joint
@frigid wharf its looking good so far
Looking good!
hi, ik this is old but how did you get the physicalbone2d to interact with static bodies? i can only get it to collide with rigidbodies for some reason
I never got the physical bone working. Instead, I used a pin joint to connect the bodies and wrote some code so the bodies wouldn't separate. the code creates two end points for each body, gets the displacement of the points and moves one of the bodies that displacement so they don't separate
I've also put together some inverse kinematics not too long ago
for that, I used this video https://www.youtube.com/watch?v=hbgDqyy8bIw&ab_channel=TheCodingTrain
In this multi-part coding challenge, I demonstrate how to implement kinematics in Processing (Java). Code: https://thecodingtrain.com/challenges/64-kinematics
p5.js Web Editor Sketches:
🕹️ Kinematics - Part 1: https://editor.p5js.org/codingtrain/sketches/91Ys1PU7B
🕹️ Kinematics - Part 2: https://editor.p5js.org/codingtrain/sketches/CvGJFQPLa
🕹️...