Menu

SCRIPT_Blocker

Benedict Jäggi

Script: Blocker.gd

Script for the blocker entity.
Set the event body_entered to _on_body_entered

func __on_body_entered(body)

If the body is in the group "ChangeDirection",
it will call the function changeDirection() on the body.

Back to [Scripts]


Related

Wiki: Scripts

MongoDB Logo MongoDB