leider funktioniert meine Bounding box immer noch nicht.
ich habe die box kleiner gemach, jedoch stopt der player immer noch weit vor wänden.
ich verwende diesen code:

my bouding box stil dont work how i want it. i set the box to kind of small, but stil the player stops far from the walls.
Code:
action player_action //main player
{   
chrisgamble=me;
      wait(1);
      my.scale_x=0.51;my.scale_y=0.51;my.scale_z=0.51;
      player = me;
      my.polygon = on;
//      my.narrow = on;
//      my.fat = on;
      my.shadow =on;
      my.cast =on;
      my.health = 100;
      my.enable_entity=on;
      loadControlsDefault(); //this sets up controls and assigns keys...uses the new template misc_input file
      initCameras();
      camActive = 1;
      cameraMove();  
		wait(1);
		c_setminmax(my); 
		wait(5);
		my.max_x = 4;
		my.max_y = 4;
//		my.max_z = 25;
		my.min_x = -4;
		my.min_y = -4;
//		my.min_z = -41;
		wait(5);
      you = ent_create("drop.mdl",my.x,weapon_John);
      setWeaponPlayer(my);
      setWeapon(1550,1541,1566);
      while(my.health > 0)
		{
			if (c_trace(my.x,vector(my.x,my.y,my.z-5000),IGNORE_ME | IGNORE_PASSABLE | GLIDE) > 0)
			{					}



Last edited by chris_oat; 07/24/09 17:51.