Base type shared by engine joints.
More...
#include <Joints.h>
Base type shared by engine joints.
Definition at line 13 of file Joints.h.
◆ FxJoint()
| FxJoint::FxJoint |
( |
const std::string & |
name, |
|
|
const std::shared_ptr< FxEntity > & |
e1, |
|
|
const std::shared_ptr< FxEntity > & |
e2 |
|
) |
| |
◆ ~FxJoint()
| virtual FxJoint::~FxJoint |
( |
| ) |
|
|
virtualdefault |
◆ apply_controls()
| virtual void FxJoint::apply_controls |
( |
double |
dt | ) |
|
|
pure virtual |
◆ clamp_effort()
| float FxJoint::clamp_effort |
( |
float |
effort | ) |
const |
|
protected |
◆ eval_pid()
| float FxJoint::eval_pid |
( |
float |
error, |
|
|
double |
dt |
|
) |
| |
|
protected |
◆ get_constraints()
| const std::vector< std::shared_ptr< FxConstraint > > & FxJoint::get_constraints |
( |
| ) |
const |
|
inline |
◆ get_control_mode()
◆ get_d()
| float FxJoint::get_d |
( |
| ) |
const |
|
inline |
◆ get_effort()
| float FxJoint::get_effort |
( |
| ) |
const |
|
inline |
◆ get_entity1()
| const std::shared_ptr< FxEntity > & FxJoint::get_entity1 |
( |
| ) |
const |
|
inline |
◆ get_entity1_name()
| std::string FxJoint::get_entity1_name |
( |
| ) |
const |
◆ get_entity2()
| const std::shared_ptr< FxEntity > & FxJoint::get_entity2 |
( |
| ) |
const |
|
inline |
◆ get_entity2_name()
| std::string FxJoint::get_entity2_name |
( |
| ) |
const |
◆ get_i()
| float FxJoint::get_i |
( |
| ) |
const |
|
inline |
◆ get_instant()
| bool FxJoint::get_instant |
( |
| ) |
const |
|
inline |
◆ get_max_effort()
| float FxJoint::get_max_effort |
( |
| ) |
const |
|
inline |
◆ get_name()
| const std::string & FxJoint::get_name |
( |
| ) |
const |
|
inline |
◆ get_p()
| float FxJoint::get_p |
( |
| ) |
const |
|
inline |
◆ get_pid()
◆ is_prismatic()
| virtual bool FxJoint::is_prismatic |
( |
| ) |
const |
|
inlinevirtual |
◆ is_revolute()
| virtual bool FxJoint::is_revolute |
( |
| ) |
const |
|
inlinevirtual |
◆ namespace_constraints()
| void FxJoint::namespace_constraints |
( |
| ) |
|
|
protected |
◆ reset()
◆ reset_pid_state()
| void FxJoint::reset_pid_state |
( |
| ) |
|
|
protected |
◆ set_control_mode()
◆ set_d()
| void FxJoint::set_d |
( |
float |
d | ) |
|
|
inline |
◆ set_effort()
| void FxJoint::set_effort |
( |
float |
effort | ) |
|
◆ set_i()
| void FxJoint::set_i |
( |
float |
i | ) |
|
|
inline |
◆ set_instant()
| void FxJoint::set_instant |
( |
bool |
instant | ) |
|
|
inline |
◆ set_max_effort()
| void FxJoint::set_max_effort |
( |
float |
max_effort | ) |
|
◆ set_p()
| void FxJoint::set_p |
( |
float |
p | ) |
|
|
inline |
◆ set_pid()
| void FxJoint::set_pid |
( |
const FxVec3f & |
pid | ) |
|
◆ wake_entities()
| void FxJoint::wake_entities |
( |
| ) |
|
|
protected |
◆ enabled
| bool FxJoint::enabled = true |
◆ entities_collide
| bool FxJoint::entities_collide = false |
◆ entity1
| std::shared_ptr<FxEntity> FxJoint::entity1 |
|
protected |
◆ entity2
| std::shared_ptr<FxEntity> FxJoint::entity2 |
|
protected |
◆ m_constraints
| std::vector<std::shared_ptr<FxConstraint> > FxJoint::m_constraints |
|
protected |
◆ m_instant
| bool FxJoint::m_instant = true |
|
protected |
◆ m_integral
| float FxJoint::m_integral = 0.0f |
|
protected |
◆ m_name
| std::string FxJoint::m_name |
|
protected |
◆ m_pid
| FxVec3f FxJoint::m_pid {1.0f, 0.0f, 0.0f} |
|
protected |
◆ m_previous_error
| float FxJoint::m_previous_error = 0.0f |
|
protected |
◆ m_target_effort
| float FxJoint::m_target_effort = 0.0f |
|
protected |
The documentation for this class was generated from the following file: