scholar beginnings
This commit is contained in:
parent
ce2b44b3fa
commit
18eab7176a
69 changed files with 1143 additions and 0 deletions
17
addons/godot-rapier2d/fluid_2d_rectangle.gd
Normal file
17
addons/godot-rapier2d/fluid_2d_rectangle.gd
Normal file
|
@ -0,0 +1,17 @@
|
|||
@tool
|
||||
extends Fluid2D
|
||||
|
||||
@export var height := 10:
|
||||
set(value):
|
||||
if height != value:
|
||||
height = value
|
||||
points = create_rectangle_points(width, height)
|
||||
get:
|
||||
return height
|
||||
@export var width := 10:
|
||||
set(value):
|
||||
if width != value:
|
||||
width = value
|
||||
points = create_rectangle_points(width, height)
|
||||
get:
|
||||
return width
|
Loading…
Add table
Add a link
Reference in a new issue