meat_madness_redux/godot/tests/ground_squish/Plane.gd

7 lines
190 B
GDScript3
Raw Normal View History

2022-11-27 13:31:09 -07:00
extends MeshInstance
onready var player = $"/root".find_node("Player", true, false)
func _process(_delta):
get_active_material(0).set_shader_param("player_pos", player.camera_position())