tutorials/physics/physics_introduction #2
Replies: 6 comments 9 replies
-
|
Area2D will only detect StaticBody2D when calling get_overlapping_bodies() if the Area2D has monitorable set to true. You'd think it'd only need monitoring set to true, but it also needs to be monitorABLE for StaticBody2D. |
Beta Was this translation helpful? Give feedback.
-
|
The documentation is not clear about this: Non-moving A moving |
Beta Was this translation helpful? Give feedback.
-
|
An easy way to remember the difference between collision layers and collisions masks that I find useful. Collision Layer: I live here |
Beta Was this translation helpful? Give feedback.
-
|
I feel like the example where (1 << 1 - 1) + (1 << 3 - 1) + (1 << 4 - 1) |
Beta Was this translation helpful? Give feedback.
-
|
That Asteroid example was not good, the code only calls apply_force() and apply_torque(), just through the |
Beta Was this translation helpful? Give feedback.
-
|
I think it would be nice to explain and include some reference to the Joint2D nodes (DampedSpringJoint2D, GrooveJoint2D and PinJoint2D). Or even a separated page just talking about the 2D and 3D Joints, since they are related to the physics system. They are only mentioned in the documentation, but never really explained or shown examples of use. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
tutorials/physics/physics_introduction
In game development, you often need to know when two objects in the game intersect or come into contact. This is known as collision detection. When a collision is detected, you typically want somet...
https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html
Beta Was this translation helpful? Give feedback.
All reactions