Q: What does "1 physics object" in A6 Commercial mean ?

A: You can have multiple objects with physcis, but only one can be active at any time. So you could have a door that uses physics, and a barrel that also uses them. When the player is close to the door, the door's physics are enabled. When the player is further away from the door, its physics are turned off. When the player gets close to the barrel, the barrel's physics are turned on and then when the player is out of sight, the physics are turned off.

now, I try to assign the same action to 2 objects, not close each other .
When I run the test map, I give this alert:

and then , the white ball does't move or reacts, while the orange one works and I can push it walking against.
the 2 balls are distant .

See the video
http://www.youtube.com/watch?v=PJuLZ1kVhrY
I wonder if there is need some code to deactivate or activate the P subsystem.
This is the code
Code:
  action phys_obj
{var earthgravity[3] = 0,0, -386;


ph_setgravity(earthgravity);
phent_settype(my,PH_RIGID,ph_sphere);
phent_setmass(my,1,ph_sphere);
phent_setfriction(my,30);
phent_setelasticity(my,50,10);
phent_setdamping(my,90,90);
};
}



Last edited by Mondivirtuali; 07/17/07 15:42.