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

CreatePoint2PointConstraint() public method

public CreatePoint2PointConstraint ( BulletWorld world, BulletBody obj1, BulletBody obj2, System.Vector3 pivotInA, System.Vector3 pivotInB, bool disableCollisionsBetweenLinkedBodies ) : BulletConstraint
world BulletWorld
obj1 BulletBody
obj2 BulletBody
pivotInA System.Vector3
pivotInB System.Vector3
disableCollisionsBetweenLinkedBodies bool
return BulletConstraint
        public override BulletConstraint CreatePoint2PointConstraint(BulletWorld world, BulletBody obj1, BulletBody obj2,
            Vector3 pivotInA, Vector3 pivotInB,
            bool disableCollisionsBetweenLinkedBodies)
        {
            BulletWorldUnman worldu = world as BulletWorldUnman;
            BulletBodyUnman bodyu1 = obj1 as BulletBodyUnman;
            BulletBodyUnman bodyu2 = obj2 as BulletBodyUnman;
            return
                new BulletConstraintUnman(BSAPICPP.CreatePoint2PointConstraint2(worldu.ptr, bodyu1.ptr, bodyu2.ptr,
                    pivotInA, pivotInB,
                    disableCollisionsBetweenLinkedBodies));
        }
BSAPIUnman