quote:
Originally posted by ventilator:
how can i set speed limits?

With the function phent_setmaxspeed which has not found its way into the manual [Frown]

quote:

phent_setmaxspeed(entity, var maxLinear, var maxAngular);

If an object moves faster than the specified limit it will be stopped (its velocity gets set to 0).
If an object rotates with an angular speed faster than the specified maxAngular limit, it will stop spinning (angular velocity will be reset to 0).

By default objects have no speed limit assigned to them, which can lead to problems of an object leaving the level or showing other unintended behavior. Setmaxspeed acts as a safety net to reduce this problem by halting an object if it goes beyond the specified speed limits. Because it will be halted abruptly, do not use this command for slowing down an object, for that purpose use phent_setdamping / phent_addforce instead.