constraint for head moving in parabolic path

Post Reply
anilvalmiki
Posts: 1
Joined: Thu May 03, 2018 6:01 am

constraint for head moving in parabolic path

Post by anilvalmiki »

Hello Everyone,

I created 10 bodies in dynamic world and try to connect all by btPoint2PointConstraint . Now when I apply a setLinearVelocity on head ,I expect all the remaining 9 bodies to follow the head body in parabolic path.( example all bodies should touch max point for particular velocity and start falling and hitting same point on ground)

I have attached the code changes done in BasicExample.cpp file .

Also attached the screenshot of how the bodies are moving in "constraints.png".

Thanks in advance,
Anil
Attachments
constraints.png
constraints.png (10.38 KiB) Viewed 2503 times
BasicExample.cpp
(5.13 KiB) Downloaded 290 times
Post Reply