setVisible problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
happyer
Posts: 17
Joined: Wed Aug 15, 2007 2:07 pm

setVisible problem

Post by happyer »

My .x mesh has an animation. I use getAbsolutePosition() to find the location of a joint node. It works when normal. However, when I set the scene node that use the mesh to invisible, by setVisible(false). The getAbsolutePosition() no longer correct.
I have tried to use updateAbsolutePosition(), it still incorrect. I guess the main reason is it does not update the RelativeTransformation. So I always get the absolute position of the joint of the first frame.

Anyone has a solution?
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

The only help I can give is advising to change the thread's subject as its unclear about what you really want to ask. Phrase a more detailed subject for better help.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

You'll need to call animateJoints manually if the node is invisible.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply