Game AI & Unity/Java Steering game

[Game AI][Steering Behavior] Task_Wall Avoidance (engine.GameObject)

bay07 2024. 3. 21. 12:54
    public boolean collision(GameObject o) {
    
    public boolean isObstacle() {
    	return this instanceof Obstacle;
    }
}

 

이 부분을 추가해줘야한다.