Didn't get around to work with PhysX much, but my (un-)educated guess would be to directly set the position of the object in front of the camera and then connect it with a PH_BALL constraint to the px actor used as player.
The code snippet posted above is useless as it isn't using the physics system.
Last edited by Sajeth; 07/21/12 09:36.