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
Godot version:
master (3a5b25d as of writing this)
OS/device including version:
Linux 4.15.15
Issue description:
The friction property is named collision_friction in the TileMap class. But only there. RigidBody2D and StaticBody2D for example just use friction. This necessitates unsightly constructions like this:
var friction = 0.8
if collision:
if collision.collider.name == "TileMap":
friction = collision.collider.collision_friction
else:
friction = collision.collider.friction
Or any other method of determining the type of the collider.
The text was updated successfully, but these errors were encountered:
Godot version:
master (3a5b25d as of writing this)
OS/device including version:
Linux 4.15.15
Issue description:
The
friction
property is namedcollision_friction
in theTileMap
class. But only there.RigidBody2D
andStaticBody2D
for example just usefriction
. This necessitates unsightly constructions like this:Or any other method of determining the type of the collider.
The text was updated successfully, but these errors were encountered: