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

CreateBodyFromShape() public method

public CreateBodyFromShape ( BulletWorld world, BulletShape shape, uint id, System.Vector3 pos, Quaternion rot ) : BulletBody
world BulletWorld
shape BulletShape
id uint
pos System.Vector3
rot Quaternion
return BulletBody
        public override BulletBody CreateBodyFromShape(BulletWorld world, BulletShape shape, uint id, Vector3 pos,
            Quaternion rot)
        {
            BulletWorldUnman worldu = world as BulletWorldUnman;
            BulletShapeUnman shapeu = shape as BulletShapeUnman;
            return new BulletBodyUnman(id, BSAPICPP.CreateBodyFromShape2(worldu.ptr, shapeu.ptr, id, pos, rot));
        }
BSAPIUnman