{"id":238,"date":"2007-06-26T12:01:21","date_gmt":"2007-06-26T16:01:21","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=238"},"modified":"2007-06-26T12:01:21","modified_gmt":"2007-06-26T16:01:21","slug":"physics-nudge","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2007\/06\/26\/physics-nudge\/","title":{"rendered":"Physics Nudge"},"content":{"rendered":"<p>\t\t\t\t<a HREF=\"http:\/\/www.ageia.com\/\">PhysX<\/a> doesn&#8217;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&#8217;s inaccurate.<\/p>\n<p>I&#8217;m surprised this feature doesn&#8217;t exist, since every networked game needs it.<\/p>\n<p>I wonder what other physics libraries might have this feature?<\/p>\n<p>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&#8217;s a free trial the user has a low investment and might just cancel the install.<\/p>\n<p>Speaking of which, I am curious about why other programs I install don&#8217;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.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PhysX doesn&#8217;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, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/238"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}