mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-24 17:14:22 +00:00
11 lines
262 B
GDScript3
11 lines
262 B
GDScript3
|
extends CollisionShape2D
|
||
|
class_name RecreatingRectangleShape
|
||
|
|
||
|
|
||
|
func _ready():
|
||
|
var extents = shape.extents
|
||
|
var custom_solver_bias = shape.custom_solver_bias
|
||
|
shape = RectangleShape2D.new()
|
||
|
shape.extents = extents
|
||
|
shape.custom_solver_bias = custom_solver_bias
|