You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The collision_animatable option is intended to allow developers to create a "TileMap-based moving platform", however, it currently suffers from the same issue that regular CharacterBody2Ds suffer from when attempting to be used in this manner. E.g. objects slightly phasing into the platform while it is moving upward, and not sticking to the platform while it is moving downward, resulting in slight floating.
AnimatableBody2D specifically fixes those weaknesses of CharacterBody2D and allows developers to create moving platforms that function correctly.
Currently, there is no way to do this properly via tileset; All moving platforms must be built with AnimatableBody2D as individual objects with independent collision shapes and sprites rather than using tileset construction.
If collision_animatable enabled TileMaps could be tweaked to perform like AnimatableBody2D then it would be possible to create functional moving tilesets that possess no physics glitches, unlike the current setup which renders the option practically useless for its intended function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The collision_animatable option is intended to allow developers to create a "TileMap-based moving platform", however, it currently suffers from the same issue that regular CharacterBody2Ds suffer from when attempting to be used in this manner. E.g. objects slightly phasing into the platform while it is moving upward, and not sticking to the platform while it is moving downward, resulting in slight floating.
AnimatableBody2D specifically fixes those weaknesses of CharacterBody2D and allows developers to create moving platforms that function correctly.
Currently, there is no way to do this properly via tileset; All moving platforms must be built with AnimatableBody2D as individual objects with independent collision shapes and sprites rather than using tileset construction.
If collision_animatable enabled TileMaps could be tweaked to perform like AnimatableBody2D then it would be possible to create functional moving tilesets that possess no physics glitches, unlike the current setup which renders the option practically useless for its intended function.
Beta Was this translation helpful? Give feedback.
All reactions