Crash bug when "mesh" applied twice fixed

Constraints reworked - all of them could now work with one or two bodies

Modification of constraint frames and initial positions of rigid bodies
now allowed at start frame only

Plugin version is set to 2.76
This commit is contained in:
rponom
2010-01-23 03:15:43 +00:00
parent 5e85d43b0b
commit e459145b91
49 changed files with 3293 additions and 756 deletions

View File

@@ -18,6 +18,9 @@ not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Written by: Nicola Candussi <nicola@fluidinteractive.com>
Modified by Roman Ponomarev <rponom@gmail.com>
01/22/2010 : Constraints reworked
*/
//nail_constraint_impl.h
@@ -33,8 +36,12 @@ public:
//
virtual void set_pivotA(vec3f const& p) = 0;
virtual void get_pivotA(vec3f& p) const = 0;
virtual void set_pivotB(vec3f const& p) = 0;
virtual void get_pivotB(vec3f& p) const = 0;
virtual void set_world(vec3f const& p) = 0;
virtual void get_world(vec3f& p) const = 0;
virtual void get_world_pivotA(vec3f& p) const = 0;
virtual void get_world_pivotB(vec3f& p) const = 0;
//
virtual void set_damping(float d) = 0;