blackberry/GamePlay — pull request #520 by pooerh (2012-10-18 13:21:49+00:00)
Title: Exposed linearFactor and angularFactor from Bullet to PhysicsRigidBody

Hi,

I requested this feature on the forums http://www.gameplay3d.org/forums/viewtopic.php?f=4&t=110 but then I thought - hey, it's open source, right? I can do it myself. So I did, I added setLinearFactor and setAngularFactor (Vector3 and float, float, float methods) and getLinearFactor / getAngularFactor methods. I also added these two to the parameters and modified lua bindings for both PhysicsRigidBody and PhysicsRigidBodyParameters. I haven't tested lua bindings though so please have a look at it, especially the part initialized for parameters (case with 8 and 9 parameters).

I hope I did everything right, I haven't ever used git.

Thanks and cheers,
Marcin Jakubowski
pooerh