Hi,
I'm trying to parent a camera to a socket to follow exactly the
movement of a model but CS crashes and seem that
view->GetCamera()->QuerySceneNode() return a null pointer.
I asked on irc and seem that maybe this is not implemented yet.
*
*(here under the piece of code where CS crashes)*
iSkeletonSocket* skelsocket = skel->FindSocket (socketName);
if (!skelsocket) return false;
view->GetCamera()->QuerySceneNode ()->SetParent (actorMesh->QuerySceneNode
());
**skelsocket->SetSceneNode (view->GetCamera()->QuerySceneNode ());*
There is another way to do this without using SetParent? Or how
can I fix this problem?
Thanks!
Alessandro Verona
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]