Area2D and Area3D
Area2D and Area3D
Area Nodes detect when things ENTER and EXIT them.
Area Nodes detect when things ENTER and EXIT them.
Area is usually paired with CollisionShape or CollisionPolygon to define the Area
Area is usually paired with CollisionShape or CollisionPolygon to define the Area
Each Collision has a Shape resource to define the shape (usually a Square, Box, Circle or Sphere)
Each Collision has a Shape resource to define the shape (usually a Square, Box, Circle or Sphere)
Area2D
Area2D
Area3D
Area3D
Note: This is the same structure you use for CharacterBody and StaticBody
Note: This is the same structure you use for CharacterBody and StaticBody
A message appears and disappears as the player overlaps an object
A message appears and disappears as the player overlaps an object
Game Mechanics Suited to Area Nodes
Game Mechanics Suited to Area Nodes
Player opens a a chest
Player opens a a chest
Player reads a board
Player reads a board
Player activates a pressure plate
Player activates a pressure plate
Attract items like coins when they're close.
Attract items like coins when they're close.
Make an enemy pursue the player
Make an enemy pursue the player