Hi, I finally found how to rotate an object joined in another one object.
all that just using the following code!:
DYN SHAPE SET LOC ROT obj_numb,0,rotation#,0,0
rotate object obj_numb, object angle x(obj_numb)+rotation#,object angle y(obj_numb),object angle z(obj_numb)
You have to rotate both the DBPro object and his physical shape.
Ok so now I can rotate the object1.
The object1 is joined in the object2.
like the object1 is a flap and object2 is the wing.
Now the problem:
Now I make the object3. And I want to join this object3 in the object1 (the flap). Imagine the object3 as a iron piece joined in the flap surface.
Unfortunately this work really bad.
When I rotate the object1 (the flap) I notice that the object3 (the iron piece) don't rotate. This make that when the flap is rotating so the iron piece lost his physical contact with the flap...
If the object2 (the wing) is moving or rotating, the flap is perfectly joined with the wing, also when the flap is doing its own rotation during the wing movement or rotation.
But when the flap is doing its own rotation so the iron piece its mantaining just the space position related to the flap but not rotating to follow the flap rotation.
So I tried to make rotate the iron piece when the flap is rotating (using the above code) and yes, now the iron piece is rotating but when the rotation is running happen that the iron piece is not anymore in physical contact with the flap.......
In easy words:
You can't joint objects in an object rotating using the above code.
Is that a joint function limit or I lost something??