dna77
Member
|
Bones
Hi im new here and don't know the engine well so im confused with one thing.
I was tying locate BodyU (according to body part names from documentation) and added to Ragdoll.cpp in Tutorials line:
cskel.getPoint("BodyU").draw(RED);
in Draw() function.
Before this i had added a point to BodyU bone in file 0.skel using Mesh Editor.
After building and executing an error popped up :
"Point "BodyU" not found in skeleton "obj/ch/skeleton/0.skel"."
Why?
I was looking for solution for few hours but without success.
Please help.
With regards Dna77
(This post was last modified: 11-02-2009 06:19 PM by dna77.)
|
|
11-02-2009 06:15 PM |
|
Esenthel
Administrator
|
RE: Bones
I'm not sure why you're doing this, but the point has to be named "BodyU" (use Mesh Editor menu\skeleton\rename selected) and re-save the skeleton
|
|
11-02-2009 06:24 PM |
|
dna77
Member
|
RE: Bones
Yes thats the exact name of the point. And still it does not work.
Im trying to do anything with this point. But i cannot find a way how to start operate whit it. Location of it will be required for later calculations. I wanna draw a velocity vector of body trunk from this point.
Im creating IntelligentDoll based on RagDoll. It will be able to find balance by itself, walk, run, and will have hints of intelligence.
|
|
11-02-2009 06:36 PM |
|
Esenthel
Administrator
|
RE: Bones
maybe you're loading a different skeleton than your custom
|
|
11-02-2009 06:50 PM |
|