Universe.Physics.BulletSPlugin.BSAPIUnman.Create6DofConstraint C# (CSharp) Method

Create6DofConstraint() public method

public Create6DofConstraint ( BulletWorld world, BulletBody obj1, BulletBody obj2, System.Vector3 frame1loc, Quaternion frame1rot, System.Vector3 frame2loc, Quaternion frame2rot, bool useLinearReferenceFrameA, bool disableCollisionsBetweenLinkedBodies ) : BulletConstraint
world BulletWorld
obj1 BulletBody
obj2 BulletBody
frame1loc System.Vector3
frame1rot Quaternion
frame2loc System.Vector3
frame2rot Quaternion
useLinearReferenceFrameA bool
disableCollisionsBetweenLinkedBodies bool
return BulletConstraint
        public override BulletConstraint Create6DofConstraint(BulletWorld world, BulletBody obj1, BulletBody obj2,
            Vector3 frame1loc, Quaternion frame1rot,
            Vector3 frame2loc, Quaternion frame2rot,
            bool useLinearReferenceFrameA, bool disableCollisionsBetweenLinkedBodies)
        {
            BulletWorldUnman worldu = world as BulletWorldUnman;
            BulletBodyUnman bodyu1 = obj1 as BulletBodyUnman;
            BulletBodyUnman bodyu2 = obj2 as BulletBodyUnman;
            return
                new BulletConstraintUnman(BSAPICPP.Create6DofConstraint2(worldu.ptr, bodyu1.ptr, bodyu2.ptr, frame1loc,
                    frame1rot,
                    frame2loc, frame2rot, useLinearReferenceFrameA, disableCollisionsBetweenLinkedBodies));
        }
BSAPIUnman