mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added new API to get body direct state
This commit is contained in:
parent
dee1001390
commit
c56c67db39
9 changed files with 56 additions and 3 deletions
|
@ -579,6 +579,8 @@ void Physics2DServer::_bind_methods() {
|
|||
|
||||
ClassDB::bind_method(D_METHOD("body_test_motion", "body", "from", "motion", "margin", "result"), &Physics2DServer::_body_test_motion, DEFVAL(0.08), DEFVAL(Variant()));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("body_get_direct_state", "body"), &Physics2DServer::body_get_direct_state);
|
||||
|
||||
/* JOINT API */
|
||||
|
||||
ClassDB::bind_method(D_METHOD("joint_set_param", "joint", "param", "value"), &Physics2DServer::joint_set_param);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue