Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_GameObject.cpp
| Context not available. | |||||
| m_pDupliGroupObject = obj; | m_pDupliGroupObject = obj; | ||||
| } | } | ||||
| void KX_GameObject::AddConstraint(bRigidBodyJointConstraint *cons) { | |||||
| m_constraints.push_back(cons); | |||||
| } | |||||
| std::vector<bRigidBodyJointConstraint*> KX_GameObject::GetConstraints() { | |||||
| return m_constraints; | |||||
| } | |||||
| void KX_GameObject::ClearConstraints() { | |||||
| m_constraints.clear(); | |||||
| } | |||||
| void KX_GameObject::AddConstraintData(ConstraintData *constData) { | |||||
| m_constraintsData.push_back(constData); | |||||
| } | |||||
| std::vector<ConstraintData*> KX_GameObject::GetConstraintsData() { | |||||
| return m_constraintsData; | |||||
| } | |||||
| void KX_GameObject::ClearConstraintsData() { | |||||
| m_constraintsData.clear(); | |||||
| } | |||||
| KX_GameObject* KX_GameObject::GetParent() | KX_GameObject* KX_GameObject::GetParent() | ||||
| { | { | ||||
| KX_GameObject* result = NULL; | KX_GameObject* result = NULL; | ||||
| Context not available. | |||||