-added custom metadata to physics shapes (2D only for now)
-gizmos are not displayed in camera preview
This commit is contained in:
@ -74,6 +74,9 @@ func _fixed_process(delta):
|
||||
var floor_velocity=Vector2()
|
||||
|
||||
if (is_colliding()):
|
||||
# you can check which tile was collision against with this
|
||||
# print(get_collider_metadata())
|
||||
|
||||
#ran against something, is it the floor? get normal
|
||||
var n = get_collision_normal()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user