Topic: ISceneNode.getChildren() doesnt work
Local bm:IAnimatedMesh = irr.irr_scene.getMesh("data/boxes.b3d")
Local boxes:IAnimatedMeshSceneNode = irr.irr_scene.addAnimatedMeshSceneNode(bm)
Local c:ISceneNode[] = boxes.getChildren()
DebugStop()
GMan's Mods & Stuff → Programming → ISceneNode.getChildren() doesnt work
Local bm:IAnimatedMesh = irr.irr_scene.getMesh("data/boxes.b3d")
Local boxes:IAnimatedMeshSceneNode = irr.irr_scene.addAnimatedMeshSceneNode(bm)
Local c:ISceneNode[] = boxes.getChildren()
DebugStop()
greetings in Irrlicht, B3D is just a mesh format not a scene format so you cannot retrieve children from within. you can retrieve joints from B3D files using getJointNode() method of IAnimatedSceneNode. If you wish to piece together a scene, you can use irrEdit to create a .irr file and load that into Irrlicht.
GMan's Mods & Stuff → Programming → ISceneNode.getChildren() doesnt work
Powered by PunBB, supported by Informer Technologies, Inc.