Dear all,
I use the sample file: BCBDemos\physics\simple
( I want to creat a tube which can be out of shape by foce and momen.)
I build a pipe, which has more than one node. And affected by gravity.
Hi Chen,
The BCB6 branch is now not active, so I think that nobady could help you in your deal. Please, migrate to more fresh compiler like C++Builder in RAD Studio XE8 or RAD Studio 10.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Chen,
May be your unit code is the same, but the GLScene libraray is different for BCB6 and RAD Studio, so it's better to use XE4 or later. And add in attachments the whole project files.
PW
Last edit: Pavel Vassiliev 2015-10-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I use the sample file: BCBDemos\physics\simple
( I want to creat a tube which can be out of shape by foce and momen.)
I build a pipe, which has more than one node. And affected by gravity.
Set up elem and dyn
But the "dyn->Mess.c" allways {0,0,0,0}
event I use
to change the value, it still {0,0,0,0}
How can I do?
Thanks
Last edit: Chen Jau-Huei 2015-10-05
Hi Chen,
The BCB6 branch is now not active, so I think that nobady could help you in your deal. Please, migrate to more fresh compiler like C++Builder in RAD Studio XE8 or RAD Studio 10.
PW
Our company just has BCB6 and BCB XE4,
but I think that they will be same code.
Because they use the same library, GLSCENE.
Last edit: Chen Jau-Huei 2015-10-06
Chen,
May be your unit code is the same, but the GLScene libraray is different for BCB6 and RAD Studio, so it's better to use XE4 or later. And add in attachments the whole project files.
PW
Last edit: Pavel Vassiliev 2015-10-06
Thanks.
I'd think XE4 is beter tnan BCB6.
But I can't setup GLScene to XE4.
Last edit: Chen Jau-Huei 2015-10-06
I find a solution :
First creat a TGLDummyCube object (dummy).
Let
And then Move dummy to pipe mass center (cx,cy,cz)
Setup each elem as
Note : It should subtract (cx,cy,xz) for each elem
Move pipe back, because pipe's parent has moved (cx,cy,cz)
But I don't think it's good answer.