About constraints

Post Reply
Bicyclette
Posts: 6
Joined: Sat Jan 04, 2020 4:46 pm

About constraints

Post by Bicyclette »

Hi everyone, I'm currently trying to use the point2point constraint.
The documentations states this :
"point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocket' location in local space "

I got a scene with 4 objects aligned with the x axis :
scene
scene
btConstraint.png (512.33 KiB) Viewed 2916 times
When I first tried to create the 3 point2point constraints by providing each pivot's coordinates in local space, I wrote this :
local_coords
local_coords
local.png (49.17 KiB) Viewed 2916 times
And then when I ran the program, I had the following wrong visual results :
result_local
result_local
point2point_local.png (12.44 KiB) Viewed 2916 times
(I can't add some more image files to this message, so I'll split it in two, sorry for that).
Bicyclette
Posts: 6
Joined: Sat Jan 04, 2020 4:46 pm

Re: About constraints

Post by Bicyclette »

Here is the follow up of my previous message.
When I then created the constraints by providing global coordinates for each rigid body pivot point, by doing like this :
global_coords
global_coords
global.png (49.06 KiB) Viewed 2915 times
I had a better visual result, though the end of the "tail" going up is quite strange :
global
global
point2point_global.png (14.46 KiB) Viewed 2915 times
I think there is something that I haven't understood properly, but I don't know what, can you please help me on this ?

P.S: the slashes on the first image mean that the value is 0.6
Post Reply