I am trying to change the physics for one of my sprite. I'm trying to lower the top of the physics shape while keeping the other three sides the same. After I use the code below the physic shape complete disappears. What am I doing wrong?
agk::SetSpriteSize(level1BlockSprite[0], 100.0f, -1);
agk::SetSpriteVisible(level1BlockSprite[0], 0);
agk::SetSpriteShape(level1BlockSprite[0], 2);
agk::SetSpritePosition(level1BlockSprite[0], 50.0f, 30.0f);
agk::SetSpritePhysicsOn(level1BlockSprite[0], 1);
agk::SetSpriteShapeBox(level1BlockSprite[0], 0, 0,10, 10, 0);
AGK V1 108.24 - Android - Tier 2 -