The code below creates a sphere and a box, sets spherical and box collision then allows you to move the sphere around to check when it collides.
It is immediately obvious that the spheres collision area is in fact a box, not a sphere.
Does everyone else get the same ?
MAKE OBJECT SPHERE 2,100
MAKE OBJECT CUBE 1,100
SET OBJECT COLLISION TO SPHERES 2
SET OBJECT COLLISION TO BOXES 1
POSITION OBJECT 2, 100, 100, 0
POSITION OBJECT 1, 0, 0, 0
AUTOCAM OFF
SYNC ON
DO
if upkey() then POSITION OBJECT 2, OBJECT POSITION X( 2 ), OBJECT POSITION Y( 2 ) + 1, OBJECT POSITION Z( 2 )
if downkey() then POSITION OBJECT 2, OBJECT POSITION X( 2 ), OBJECT POSITION Y( 2 ) - 1, OBJECT POSITION Z( 2 )
if leftkey() then POSITION OBJECT 2, OBJECT POSITION X( 2 ) - 1, OBJECT POSITION Y( 2 ), OBJECT POSITION Z( 2 )
if rightkey() then POSITION OBJECT 2, OBJECT POSITION X( 2 ) + 1, OBJECT POSITION Y( 2 ), OBJECT POSITION Z( 2 )
POINT CAMERA OBJECT POSITION X( 2 ), OBJECT POSITION Y( 2 ) + 1, OBJECT POSITION Z( 2 )
POSITION CAMERA OBJECT POSITION X( 2 ), OBJECT POSITION Y( 2 ) + 1, OBJECT POSITION Z( 2 ) - 500
if object collision(1,2) then text 0,33,"COLLIDED "
TEXT 0,0, "X " + STR$( OBJECT POSITION X( 2 ) )
TEXT 0,11, "Y " + STR$( OBJECT POSITION Y( 2 ) )
SYNC
LOOP
This is getting really annoying, I have been constantly going back to my ball game every time a new patch appears and every time there is something new which stops it from proceeding.
Well, at least with this one I can continue coding and hope it eventually gets fixed.