Looks better (but a bit buggy, especially box covers), but one thing looks odd, when you hold object and move with it, looks like vector for object was declared after object was holden (the way it lag after players movement). But that is just my opinion Other ways looks good.
I guess that's because the object is not placed manually but by use of the physics engine, so it isn't set to a vector, but insetead a force is applied that moves it to the desired position. However, correct me if I'm wrong.
Looks good in my opinion. I'd like to read more about the project itself.
Last edited by the_clown; 01/16/1111:58.
Re: Gravity Gun with ODE-Physics
[Re: the_clown]
#354183 01/16/1112:3101/16/1112:31
Yes, this would look a lot better, if the force was applied at the hit.x coordinates relative to the object (maybee shifted into it a little bit). I tried but didnt get it to work that way yet...