breakable_joint3d
What snaps the node's joint3d: past either, it breaks and calls on_joint_break. An articulation never breaks, so this sits beside a joint that is not one.
En esta página
3d · physics · 2 properties · 3D
What snaps the node's joint3d: past either, it breaks and calls on_joint_break. An articulation never breaks, so this sits beside a joint that is not one.
In a scene, breakable_joint3d is the node key that applies it. A script reaches each property below as a field on node.breakable_joint3d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.breakable_joint3d.get() and node.breakable_joint3d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
break_force |
float | 0 |
The force, in newtons, that snaps the joint; 0 never breaks it by force At least 0. |
break_torque |
float | 0 |
The torque about the anchor, in newton metres, that snaps the joint; 0 never breaks it by torque At least 0. |