Trying to glue 2 objects together but it offset from origin.

papaonn
Posts: 41
Joined: Wed Nov 20, 2013 4:14 pm

Trying to glue 2 objects together but it offset from origin.

Post by papaonn »

Greetings,

I am facing some problem with gluing two objects together at a fixed orientation.
The problem is that, when i had multiple constraints applied (I'm using hinge) the objects started to decay from its original positions.
I had increased setOverrideNumSolverIterations to 1000 times iterations, but the offset problem still occur,
how do i resolve this issue? Is there any other constraint that could help gluing the objects together without rotating ?

* By gluing i mean the object A & B are attached together with fixed orientation *.
alex55i
Posts: 1
Joined: Tue Feb 25, 2014 10:41 am

Re: Trying to glue 2 objects together but it offset from ori

Post by alex55i »

Try btFixedConstraint