Physics
Physics settings of a node can be changed on the Physics tab of the Parameters window. Here you can assign a required body to the selected node and then set it up.
However, a node can participate in physical interactions even if it has no physical body assigned: you can enable collision and intersection detection for node's surfaces on the Node tab of the Parameters window. Some node's surfaces may not participate in collisions and intersections: these options can be enabled on a per-surface basis.
Collision Parameters
This section provides parameters for setting up how the selected surface collides with other physical bodies and shapes.
Enabled | Flag indicating if collisions with the surface are enabled. |
---|---|
Mask | Collision mask of the surface. The surface will collide with a shape only if their collision masks match. |
Intersection Parameters
This section provides parameters for setting up how the selected surface participate in intersections.
Enabled | Flag indicating if intersections are enabled for the surface. |
---|---|
Mask | Intersection mask of the surface. Intersection with the surface will be detected, if its intersection mask matches the intersection mask passed as a function argument, otherwise it is ignored. |