Home
last modified time | relevance | path

Searched refs:boneNode (Results 1 – 14 of 14) sorted by relevance

/dports/graphics/urho3d/Urho3D-1.7.1/Source/Samples/13_Ragdolls/
H A DCreateRagdoll.cpp119 Node* boneNode = node_->GetChild(boneName, true); in CreateRagdollBone() local
120 if (!boneNode) in CreateRagdollBone()
126 RigidBody* body = boneNode->CreateComponent<RigidBody>(); in CreateRagdollBone()
136 CollisionShape* shape = boneNode->CreateComponent<CollisionShape>(); in CreateRagdollBone()
148 Node* boneNode = node_->GetChild(boneName, true); in CreateRagdollConstraint() local
150 if (!boneNode) in CreateRagdollConstraint()
161 Constraint* constraint = boneNode->CreateComponent<Constraint>(); in CreateRagdollConstraint()
168 constraint->SetWorldPosition(boneNode->GetWorldPosition()); in CreateRagdollConstraint()
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/LuaScripts/
H A D13_Ragdolls.lua320 local boneNode = self.node:GetChild(boneName, true)
321 if boneNode == nil then
326 local body = boneNode:CreateComponent("RigidBody")
336 local shape = boneNode:CreateComponent("CollisionShape")
346 local boneNode = self.node:GetChild(boneName, true)
348 if boneNode == nil then
357 local constraint = boneNode:CreateComponent("Constraint")
364 constraint.worldPosition = boneNode.worldPosition
/dports/games/0ad/0ad-0.0.23b-alpha/source/collada/
H A DStdSkeletons.cpp105 for (xmlNodeList::iterator boneNode = boneNodes.begin(); boneNode != boneNodes.end(); ++boneNode) in LoadSkeletonBones() local
107 std::string name (FUXmlParser::ReadNodeProperty(*boneNode, "name")); in LoadSkeletonBones()
116 xmlNode* targetNode = FUXmlParser::FindChildByType(*boneNode, "target"); in LoadSkeletonBones()
139 LoadSkeletonBones(*boneNode, bones, targetSkeleton, newTargetName); in LoadSkeletonBones()
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADAMax/src/
H A DCOLLADAMaxControllerExporter.cpp186 INode* boneNode = skinInterface->getBone(i); in exportSkinController() local
187 assert(boneNode); in exportSkinController()
188 boneINodes.push_back(boneNode); in exportSkinController()
190 ExportNode* jointExportNode = mExportSceneGraph->getExportNode(boneNode); in exportSkinController()
216 INode* boneNode = boneINodes[i]; in exportSkinController() local
219 if ( !skinInterface->getBoneInitTM(boneNode, bindPose) ) in exportSkinController()
221 …bindPose = VisualSceneExporter::getWorldTransform( boneNode, mDocumentExporter->getOptions().getAn… in exportSkinController()
446 INode* boneNode = skinInterface->getBone(i); in determineReferencedJoints() local
447 assert(boneNode); in determineReferencedJoints()
449 ExportNode* jointExportNode = mExportSceneGraph->getExportNode(boneNode); in determineReferencedJoints()
H A DCOLLADAMaxXRefFile.cpp178 INode* boneNode = skin->GetBone(i); in exportSkinController() local
179 assert(boneNode); in exportSkinController()
180 boneINodes.push_back(boneNode); in exportSkinController()
182 ExportNode* jointExportNode = mExportSceneGraph->getExportNode(boneNode); in exportSkinController()
208 INode* boneNode = boneINodes[i]; in exportSkinController() local
211 int success = skin->GetBoneInitTM(boneNode, bindPose); in exportSkinController()
429 INode* boneNode = skin->GetBone(i); in determineReferencedJoints() local
430 assert(boneNode); in determineReferencedJoints()
432 ExportNode* jointExportNode = mExportSceneGraph->getExportNode(boneNode); in determineReferencedJoints()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Graphics/
H A DAnimatedModel.cpp721 destBones[i].node_ = boneNode; in SetSkeleton()
753 boneNode->AddListener(this); in SetSkeleton()
757 i->node_ = boneNode; in SetSkeleton()
790 if (boneNode) in SetSkeleton()
791 boneNode->AddListener(this); in SetSkeleton()
792 i->node_ = boneNode; in SetSkeleton()
918 Node* boneNode = i->node_; in UpdateBoneBoundingBox() local
919 if (!boneNode) in UpdateBoneBoundingBox()
993 if (boneNode) in AssignBoneNodes()
996 boneNode->AddListener(this); in AssignBoneNodes()
[all …]
H A DDecalSet.cpp683 Node* boneNode = i->node_; in OnWorldBoundingBoxUpdate() local
684 if (!boneNode) in OnWorldBoundingBoxUpdate()
690 worldBox.Merge(i->boundingBox_.Transformed(boneNode->GetWorldTransform())); in OnWorldBoundingBoxUpdate()
692 worldBox.Merge(Sphere(boneNode->GetWorldPosition(), i->radius_ * 0.5f)); in OnWorldBoundingBoxUpdate()
1117 Node* boneNode = node_->GetChild(i->name_, true); in AssignBoneNodes() local
1118 if (boneNode) in AssignBoneNodes()
1119 boneNode->AddListener(this); in AssignBoneNodes()
1120 i->node_ = boneNode; in AssignBoneNodes()
H A DAnimationState.cpp225 Node* boneNode = stateTracks_[index].node_; in SetBoneWeight() local
226 if (boneNode) in SetBoneWeight()
228 const Vector<SharedPtr<Node> >& children = boneNode->GetChildren(); in SetBoneWeight()
H A DDebugRenderer.cpp370 Node* boneNode = bones[i].node_; in AddSkeleton() local
371 if (!boneNode) in AddSkeleton()
374 Vector3 start = boneNode->GetWorldPosition(); in AddSkeleton()
378 Node* parentNode = boneNode->GetParent(); in AddSkeleton()
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/
H A DFAXInstanceImport.cpp396 FCDSceneNode* boneNode = NULL; in LinkControllerInstance() local
403 boneNode = (FCDSceneNode*)rootNodes[i]->FindSubId(jid); in LinkControllerInstance()
404 if (boneNode != NULL) break; in LinkControllerInstance()
412 boneNode = (FCDSceneNode*)rootNodes[i]->FindDaeId(jid); in LinkControllerInstance()
413 if (boneNode != NULL) break; in LinkControllerInstance()
417 if (boneNode != NULL) in LinkControllerInstance()
419 controllerInstance->AddJoint(boneNode); in LinkControllerInstance()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Tools/AssetImporter/
H A DAssetImporter.cpp754 if (!boneNode) in CollectBones()
757 rootNode = boneNode; in CollectBones()
761 boneNode = boneNode->mParent; in CollectBones()
762 … if (!boneNode || ((boneNode == meshNode || boneNode == meshParentNode) && !animationOnly)) in CollectBones()
764 rootNode = boneNode; in CollectBones()
777 rootNode = boneNode; in CollectBones()
781 boneNode = boneNode->mParent; in CollectBones()
782 … if (!boneNode || ((boneNode == meshNode || boneNode == meshParentNode) && !animationOnly)) in CollectBones()
784 rootNode = boneNode; in CollectBones()
1310 aiNode* boneNode = 0; in BuildAndSaveAnimations() local
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/Scripts/
H A D13_Ragdolls.as332 Node@ boneNode = node.GetChild(boneName, true);
333 if (boneNode is null)
339 RigidBody@ body = boneNode.CreateComponent("RigidBody");
349 CollisionShape@ shape = boneNode.CreateComponent("CollisionShape");
361 Node@ boneNode = node.GetChild(boneName, true);
363 if (boneNode is null)
374 Constraint@ constraint = boneNode.CreateComponent("Constraint");
381 constraint.worldPosition = boneNode.worldPosition;
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Urho2D/
H A DSpriterData2D.cpp670 xml_node boneNode = node.child("bone"); in Load() local
671 length_ = boneNode.attribute("length").as_float(200.0f); in Load()
672 width_ = boneNode.attribute("width").as_float(10.0f); in Load()
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/Collada/
H A DColladaExporter.cpp1663 const aiNode *boneNode = findBoneNode(mScene->mRootNode, bone); in GetBoneUniqueId() local
1664 if (boneNode == nullptr) in GetBoneUniqueId()
1667 return GetNodeUniqueId(boneNode); in GetBoneUniqueId()