NasNas
An intuitive and beginner friendly 2D game framework for C++
ns
ecs
PhysicsComponent
ns::ecs::PhysicsComponent Member List
This is the complete list of members for
ns::ecs::PhysicsComponent
, including all inherited members.
angular_damping
(defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
angular_velocity
(defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
applyForce
(sf::Vector2f force) (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
applyTorque
(float torque) (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
getAngle
() const -> float (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
getDirection
() const -> sf::Vector2f (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
getMomentum
() const -> sf::Vector2f (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
linear_damping
(defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
linear_velocity
(defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
mass
(defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
PhysicsComponent
(float mass=1.f, const sf::Vector2f &linear_damping={1.f, 1.f}, float angular_damping=1.f) (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
explicit
update
() (defined in
ns::ecs::PhysicsComponent
)
ns::ecs::PhysicsComponent
Generated by
1.8.13