Hey, I figured it out! Here is the code:
// Spherical Collision Detection //////////////////////////////////
oldx# = OBJECT POSITION X(GravityBox)
oldy# = OBJECT POSITION Y(GravityBox)
oldz# = OBJECT POSITION Z(GravityBox)
// MOVE THE PLAYER /////////////////////////////////////////////
IF KEYSTATE(KEY_UP_ARROW) = 1
MOVE OBJECT PLAYER, 0.1
POSITION OBJECT GravityBox, EntityX(PLAYER), EntityY(PLAYER), EntityZ(PLAYER)
ENDIF
IF KEYSTATE(KEY_DOWN_ARROW) = 1
MOVE OBJECT PLAYER, -0.08
POSITION OBJECT GravityBox, EntityX(PLAYER), EntityY(PLAYER), EntityZ(PLAYER)
ENDIF
IF KEYSTATE(KEY_LEFT_ARROW) = 1
TURN OBJECT LEFT PLAYER, 0.5
ENDIF
IF KEYSTATE(KEY_RIGHT_ARROW) = 1
TURN OBJECT RIGHT PLAYER, 0.5
ENDIF
////////////////////////////////////////////////////////////////
POINT OBJECT GravityBox, 0.0, 0.0, 0.0
MOVE OBJECT GravityBox, 0.1
x# = OBJECT POSITION X(GravityBox)
y# = OBJECT POSITION Y(GravityBox)
z# = OBJECT POSITION Z(GravityBox)
coll = SC_sphereSlide( 0, oldx#, oldy#, oldz#, x#, y#, z#, 1, 0 )
IF coll > 0
newx# = SC_getCollisionSlideX()
newy# = SC_getCollisionSlideY()
newz# = SC_getCollisionSlideZ()
POSITION OBJECT GravityBox, newx#, newy#, newz#
ENDIF
POSITION OBJECT PLAYER, EntityX(GravityBox), EntityY(GravityBox), EntityZ(GravityBox)
POSITION CAMERA EntityX(PLAYER), EntityY(PLAYER), EntityZ(PLAYER)-3
ROTATE CAMERA EntityAngX(PLAYER), EntityAngY(PLAYER), EntityAngZ(PLAYER)
///////////////////////////////////////////////////////////////////
I just had to reposition the gravity object after moving the player forward or backward.
I really hope this helps everyone in the DBPRO community