Blender Git Loki
Git Commits -> Revision 31aa43d
Revision 31aa43d by Campbell Barton (master) July 3, 2008, 01:34 (GMT) |
Adding GameObject setLinearVelocity(), without this interacting with objects requires them to have logic bricks to apply force which doesn't work well when the character is in a seperate blend file to the levels. (its also messy to have a script & multiple motion actuators on each object you can pickup and throw). This is also needed for removing any force that existed before suspending dynamics - In the case of franky hanging, resuming dynamics when he fell would apply the velocity he had when grabbing making dropping to the ground work unpredictably. Also note in pydocs that enable/disable rigidbody physics doesn't work with bullet yet. |
Commit Details:
Full Hash: 31aa43da9736a014579ec05fb68ff2051f5eb69d
SVN Revision: 15413
Parent Commit: 424141f
Lines Changed: +36, -3