Hey. So, I made a template for simple movement with linear velocity awhile ago, and while it was alright, I made a new version that's a bit more refined. For one thing, it ties in better with the Bullet physics engine, and so won't operate separately from it.
For example, I'm pretty sure my old template wouldn't work well with bumping into objects, as it kept it speed separate from Bullet's speed values. The new version adds and subtracts its speed from the object's built-in linear velocity values, so if you go from bumping into an object to suddenly moving forward, you won't launch forward extremely fast.
Anyway, check it out here.
No comments:
Post a Comment