Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
2 votes

Moment of inertia of an arbitrary grid of squares with different masses

I got it working in the end, so for anyone interested here's the solution : General solution You need to use the parallel axis theorem. This theorem states that, given a body with a moment of inertia \...
user29223's user avatar
1 vote

adding a knockback effect to a CharacterBody2D in Godot 4.2.1?

I can see that the issue with the movement comes from moving the enemy both with move_and_slide() and directly setting the enemy position in each frame. For ...
Cassiano's user avatar
1 vote

How do I compose RPG character with different equipment?

The following assumes you are going full sprite atlas based 2D. To compose a particular armor on a sprite you could render the armor separately on top of the character that means you duplicate the ...
ratchet freak's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible