Note
This documentation is still very weak, and needs some help!
Creates a constraint.
Parameters: |
|
---|
Simbolic constant string that indicates error.
export a .bullet file
Parameters: | filename (string) – File name |
---|
Parameters: | constraintId (int) – The id of the constraint. |
---|---|
Returns: | the most recent applied impulse. |
Return type: | float |
Parameters: | constraintId (int) – The id of the vehicle constraint. |
---|---|
Returns: | a vehicle constraint object. |
Return type: | :class:’KX_VehicleWrapper’ |
Removes a constraint.
Parameters: | constraintId (int) – The id of the constraint to be removed. |
---|
Sets the CCD mode in the Physics Environment.
Parameters: | ccdMode (int) – The new CCD mode. |
---|
Note
Reasonable default is 0.02 (if units are meters)
Sets the contact breaking treshold in the Physics Environment.
Parameters: | breakingTreshold (float) – The new contact breaking treshold. |
---|
Sets the deactivation angular treshold.
Parameters: | angularTreshold (float) – New deactivation angular treshold. |
---|
Sets the deactivation linear treshold.
Parameters: | linearTreshold (float) – New deactivation linear treshold. |
---|
Sets the time after which a resting rigidbody gets deactived.
Parameters: | time (float) – The deactivation time. |
---|
Sets the debug mode.
Parameters: | mode (int) – The new debug mode. |
---|
Sets the gravity force.
Parameters: |
|
---|
Not implemented.
Sets the number of iterations for an iterative constraint solver.
Parameters: | numiter (int) – New number of iterations. |
---|
Sets the number of substeps for each physics proceed. Tradeoff quality for performance.
Parameters: | numsubstep (int) – New number of substeps. |
---|
Sets the solver damping.
Parameters: | damping (float) – New damping for the solver. |
---|
Note
Very experimental, not recommended
Sets the solver tau.
Parameters: | tau (float) – New tau for the solver. |
---|
Note
Very experimental, not recommended
Sets the solver type.
Parameters: | solverType (int) – The new type of the solver. |
---|
Note
Very experimental, not recommended
Sets the sor constant.
Parameters: | sor (float) – New sor value. |
---|
Not implemented.