bool
PhysicsConstraintsComponent::removePhysicsConstraintInternal(
        PhysicsConstraintsComponentPtr p_physicalConstraintComponent)
{
    assert(p_physicalConstraintComponent &&
            "physicalConstraintComponent must not be null");

    componentRemoved(p_physicalConstraintComponent);
    p_physicalConstraintComponent->componentRemoved(shared_from_this());

    return true;
}
示例#2
0
	void KRenderSys::nodeRemoved(KNode *Node) {
		if (Node->hasComponent(Component::CAMERA)) {
			componentRemoved(Node->getComponent(Component::CAMERA));
		}
	}