I suppose you use PhysX. Do you know how to initialize PhysX?
And post the script you wrote, let`s see what you have done there and then I am going to show you how to actually use PhysX wink