I'm trying to create a gavity gun that essentially will pull a body towards the end of the gun.
I've tried to achieve this using a gravity controller, but I think it may be better to use a prismatic joint. So now my idea is to cast a ray from the end of the gun and if we hit an object that can be manipulated by the gun, we then create a prismatic joint
between the end of the gun and the object and pull the object towards the gun.
I'm having trouble however getting the prismatic joint to properly connect the two objects. What is the axis for? An is it possible to create this kind of joint between two moving bodies?