Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


How to get localTM ? 1 mesh object...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 AquaMacker   Members   -  Reputation: 255

Like
0Likes
Like

Posted 27 March 2013 - 06:11 PM

In 3dMax...

I make a simple SSooooo simple 1 Bone.

No child.
No parent.

Just 1 mesh...

I will get LocalTM..

I use MaxSDK...

I set CoordSystem::D3d ( SetCoordSystem( IGameConversionManager::IGAME_D3D );

and get with IGameNode::GetLocalTM();

and then...

Result is Not correct...
TM value is not correct.

Need to add more ?
Y, Z inverse ? ( Y, Z > -Y, -Z ?)
Y, Z change positin ? ( Y, Z > Z, Y ?)

How to get Bone LocalTM ? Please...................................


Edited by AquaMacker, 28 March 2013 - 07:06 PM.


Sponsor:

#2 AquaMacker   Members   -  Reputation: 255

Like
0Likes
Like

Posted 10 April 2013 - 04:30 AM

Re HI~

It's same type question...

I try to get biped localTM...

I need to PivotTM...
I guess PivotTM is "bip001 FOOTSTEPS"... 
Is Right ?

제목 없음.jpg

How to get "bip001 FOOTSTEPS" Node pointer ? 

I guess "bip001 FOOTSTEPS" node is missing node list...

I can't find "bip001 FOOTSTEPS" Node...

How to get Node pointer ?

Loop ? like this ?

 

int nCount = pScene->GetTopLevelNodeCount();
for ( int i = 0; i < nCount; i++ )
{
     IGameNode* pNode = pScene->GetTopLevelNode(i);
 
     selfFunctionCall( pNode )l
}

This method can't find "FootSteps" Node...

Please help...

Edited by AquaMacker, 10 April 2013 - 04:31 AM.


#3 AquaMacker   Members   -  Reputation: 255

Like
2Likes
Like

Posted 27 April 2013 - 06:50 PM

Self Answer ^^a

 

Interface method GetINodeByName( "Bip001 Footsteps" );


Edited by AquaMacker, 27 April 2013 - 06:51 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS