Browse Source

Documented many Physics2D* classes

Ovnuniarchos 9 years ago
parent
commit
471ab4e6ff
2 changed files with 238 additions and 12 deletions
  1. 230 12
      doc/base/classes.xml
  2. 8 0
      servers/physics_2d_server.cpp

File diff suppressed because it is too large
+ 230 - 12
doc/base/classes.xml


+ 8 - 0
servers/physics_2d_server.cpp

@@ -646,6 +646,14 @@ void Physics2DServer::_bind_methods() {
 //	ObjectTypeDB::bind_method(_MD("sync"),&Physics2DServer::sync);
 	//ObjectTypeDB::bind_method(_MD("flush_queries"),&Physics2DServer::flush_queries);
 
+	BIND_CONSTANT( SPACE_PARAM_CONTACT_RECYCLE_RADIUS );
+	BIND_CONSTANT( SPACE_PARAM_CONTACT_MAX_SEPARATION );
+	BIND_CONSTANT( SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION );
+	BIND_CONSTANT( SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_TRESHOLD );
+	BIND_CONSTANT( SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_TRESHOLD );
+	BIND_CONSTANT( SPACE_PARAM_BODY_TIME_TO_SLEEP );
+	BIND_CONSTANT( SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS );
+
 	BIND_CONSTANT( SHAPE_LINE );
 	BIND_CONSTANT( SHAPE_SEGMENT );
 	BIND_CONSTANT( SHAPE_CIRCLE );

Some files were not shown because too many files changed in this diff