pvb-practice/src/player.cpp

14 lines
434 B
C++

#include "player.hpp"
#include "godot_cpp/classes/animation_tree.hpp"
#include "godot_cpp/classes/node3d.hpp"
namespace godot {
void Player::_bind_methods() {}
void Player::_enter_tree() {
this->model = this->get_node<Node3D>("Model");
this->animTree = this->get_node<AnimationTree>("Model/AnimationTree");
}
void Player::_process(double deltaTime) {}
void Player::_physics_process(double deltaTime) {}
} // namespace godot