How to enable picking for plank in HfFluid Demo?

rajeevranjan
Posts: 1
Joined: Mon Jul 06, 2009 11:50 am

How to enable picking for plank in HfFluid Demo?

Post by rajeevranjan »

Hi,
I am new to Bullet Physics engine. I am developing a sample for fluid simulation. I am using Bullet for this. I am not able to understand how to enable picking for 4th demo in HfFluid Demo (experimental) although the mass of the plank is 1.0(not 0). The current environment is Windows XP.
Please let me know what to do in order to do so! In method mouseFunc which gets invoked as result of callback glutMouseFunction(), I am expecting that on pressing left button and dragging, the object should move which is happening in all other rigid bodies.
Please let me know the solution as where I should modify in the sample to get it worked.
Thanks in advance.
Regards,
Rajeev