Hi,
I've been working on a game and I tested the collision system at the beginning. After doing an update of mini3D, it seems to have stopped working. I've made a simple program to test collision and it I can't get it to work. Can anyone have a look, test this and see if the spheres collide? And if not, why not.
Thanks.
I've been working on a game and I tested the collision system at the beginning. After doing an update of mini3D, it seems to have stopped working. I've made a simple program to test collision and it I can't get it to work. Can anyone have a look, test this and see if the spheres collide? And if not, why not.
Thanks.
Import sidesign.minib3d Graphics3D 800,400 Collisions 1,1,1 Global a = CreateSphere() EntityRadius a, 1.1 EntityType a,1 PositionEntity a,-2,0,0 UpdateWorld Global b = CreateSphere() EntityRadius b,1.1 EntityType b,1 PositionEntity b,2,0,0 UpdateWorld Global c = CreateCamera() PositionEntity c,0,0,-5 While KeyDown(KEY_ESCAPE) = False Cls 'PointEntity c,a MoveEntity a,0.01,0,0 UpdateWorld RenderWorld Flip WendModerator Note: Please use the [code ] / [codebox ] tags when posting code. See What are the forum codes? for more information.