Removed physics for now.
This commit is contained in:
23
archive/physics_components/3d/CharacterController3D.hpp
Normal file
23
archive/physics_components/3d/CharacterController3D.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "Collider3D.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class CharacterController3D : public SceneItemComponent {
|
||||
public:
|
||||
// @optional
|
||||
glm::vec3 velocity = glm::vec3(0, 0, 0);
|
||||
// @optional
|
||||
glm::vec3 gravity = glm::vec3(0, -1, 0);
|
||||
// @optional
|
||||
float_t friction = 12.0f;
|
||||
|
||||
CharacterController3D(std::weak_ptr<SceneItem> item);
|
||||
|
||||
void onStart() override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user