Search found 2 matches

by LegendaryZ
Sat Apr 24, 2010 7:24 am
Forum: Jirr
Topic: Access to IBoneSceneNode from IAnimatedMeshSceneNode
Replies: 3
Views: 9148

Access to IBoneSceneNode from IAnimatedMeshSceneNode

I am using Jirr 1.42 and I want to know how can I access IBoneSceneNode using IAnimatedMeshSceneNode.getJoinNode.

The method is returning a SWIGTYPE_p_IBoneSceneNode, how can I use this ?

Thank you for taking the time to answer my questions.
by LegendaryZ
Fri Sep 11, 2009 11:20 am
Forum: Beginners Help
Topic: Coding AI for a zombie class
Replies: 7
Views: 789

Note :

if(!pos.X == cam->getPosition().X && pos.Z == cam->getPosition().Z)

the condition is true only if

pos.X != cam->getPosition().X
AND
pos.Z == cam->getPosition().Z

Do you mean by that : "if zombie is away from the camera" ?


I suggest you use vector3df comparison methods, not raw ...