Hi, I have published three posts, but have received ZERO reply. Maybe that's because my question is too difficult or I have not expressed my question clearly. Fortunately, I have almost solved these above two questions by myself.
Now, I am sorry, I still have a question. I want my rigid body(actually that's a column) to circumrotate by an axes (such as X axes) ceaselessly when my demo is running.
So , how can I realize it, your suggestions will be greatly appreciated. Thank you very much!
circumrotate the wheel
-
JanK
- Posts: 17
- Joined: Fri Jan 08, 2010 11:40 am
Re: circumrotate the wheel
Make it a kinematic object, compute its new position and rotation every frame and set it.
If you actually want a dynamic rigid-body to rotate/move you need to take a look at applying forces/torques. Also i think Bullet supports "motors" to drive dynamic objects.
Jan.
If you actually want a dynamic rigid-body to rotate/move you need to take a look at applying forces/torques. Also i think Bullet supports "motors" to drive dynamic objects.
Jan.
-
zjl19870808
- Posts: 21
- Joined: Tue Nov 03, 2009 8:33 am
Re: circumrotate the wheel
Thank You,I think , to me, more time should be spent on the code. I will continue to study the code , Thank you againJanK wrote:Make it a kinematic object, compute its new position and rotation every frame and set it.
If you actually want a dynamic rigid-body to rotate/move you need to take a look at applying forces/torques. Also i think Bullet supports "motors" to drive dynamic objects.
Jan.