Categories
Game Development

Physics Nudge

PhysX doesn’t have a nudge feature, by which I can slightly adjust the position of an object, while still accounting for collisions. What I had to end up doing was adding a velocity to move me by an estimated amount for the next tick, then undo that velocity. Naturally this caused a lot of problems, […]

PhysX doesn’t have a nudge feature, by which I can slightly adjust the position of an object, while still accounting for collisions. What I had to end up doing was adding a velocity to move me by an estimated amount for the next tick, then undo that velocity. Naturally this caused a lot of problems, such as breaking my maximum velocity limit, causing you to potentially hit walls at great velocity, and it’s inaccurate.

I’m surprised this feature doesn’t exist, since every networked game needs it.

I wonder what other physics libraries might have this feature?

Incidentally, I am not happy that PhysX requires you to use their system installer thing. Users are complaining about having to install so many dependencies, and that leftovers are left after they uninstall the game. I totally agree. This might even cost me sales. With a store bought game you have no choice, but with my game since there’s a free trial the user has a low investment and might just cancel the install.

Speaking of which, I am curious about why other programs I install don’t all prompt you to install the Visual Studio 2005 end user runtime. If I could get rid of that it would knock down my dependencies by 1/3.

4 replies on “Physics Nudge”

Cant u use Kinematic actors for ships (so u can set the movement by hand and stil collide with the other moving actors)?

AFAIK all you need to get rid of MSVC2005 end user runtime dependency is to ensure that all your projects (applications, DLLs, static libraries) are linked with static runtime, not DLL one (Multithreaded / Multithreaded debug as opposed to Multithreaded DLL / Multithreaded Debug DLL).

most of today game install the vc runtime. but often their install simple call the exe in the background and the user doesnt see it, i would use a this approach if i where you.

Oh I have seen posting by Phsyx Administrator (it was MinJiang if I am not mistaken) that said next version of PhysX driver will be much lighter in size.

Leave a Reply

Your email address will not be published. Required fields are marked *