New answers tagged

0 votes
Accepted

Issue with AttackArea Monitoring Before Attack in Godot 2D Game

It is a quirk of Godot that physics object can interact when they enter the scene tree. To prevent that you need to set monitoring to false even before that. You ...
Theraot's user avatar
  • 26.2k
1 vote

Max velocity for smooth deceleration to destination

Just work backwards to set up a "glide path" are the closest points/maximum speeds you can get without overshooting: If you arrive to the destination at max 2f/s velocity and then change it ...
MadMan's user avatar
  • 743
0 votes

Max velocity for smooth deceleration to destination

Dubre Den, The max and assumed current speed(5) requires <3.0 max deceleration steps(-2 speed) to reach 0. Since the update rate is twice per second, the exact solution should be apparent without ...
0 votes

Animation for some reason doesn't trigger after death

Here is a quick set up guide on 2D animations, perhaps you can run through these and see if you've missed any. Step 1 Add an animator component to your gameobject ...
Pow's user avatar
  • 163
0 votes

Position object in top left of Rect Transform 2D

While you can position it at the corner, personally I think its much easier to just add an offset, you can modify it in the inspector easily and change it through code whenever you like. It only takes ...
Pow's user avatar
  • 163
0 votes
Accepted

Identify doorways to partition a collection of walls with gaps into rooms

It took a while, but I think I got some thing. It might not work with small rooms, but with at least 3 fields in diameter should work. Assign to each field an integer value equal to its distance to ...
Jamek's user avatar
  • 21

Top 50 recent answers are included