You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Add functions to apply impulse and force to SoftBody on GodotPhysics and JoltPhysics
This commit is contained in:
@@ -358,6 +358,11 @@ void PhysicsServer3DExtension::_bind_methods() {
|
||||
GDVIRTUAL_BIND(_soft_body_pin_point, "body", "point_index", "pin");
|
||||
GDVIRTUAL_BIND(_soft_body_is_point_pinned, "body", "point_index");
|
||||
|
||||
GDVIRTUAL_BIND(_soft_body_apply_point_impulse, "body", "point_index", "impulse");
|
||||
GDVIRTUAL_BIND(_soft_body_apply_point_force, "body", "point_index", "force");
|
||||
GDVIRTUAL_BIND(_soft_body_apply_central_impulse, "body", "impulse");
|
||||
GDVIRTUAL_BIND(_soft_body_apply_central_force, "body", "force");
|
||||
|
||||
/* JOINT API */
|
||||
|
||||
GDVIRTUAL_BIND(_joint_create);
|
||||
|
||||
Reference in New Issue
Block a user