Search found 6 matches
- Wed Nov 08, 2006 2:49 am
- Forum: Advanced Help
- Topic: Getting mesh from node
- Replies: 23
- Views: 2396
- Fri Nov 03, 2006 3:33 am
- Forum: Advanced Help
- Topic: Getting mesh from node
- Replies: 23
- Views: 2396
Sadly, SceneNode does not have a getMesh() method. The TerrainSceneNode does, but not SceneNode. It is perfectly acceptable to request the IMeshSceneNode get a getMesh() and the IAnimatedMeshSceneNode get a getAnimatedMesh() . That said, the scene node class ISceneNode should NOT have a getMesh() m...
- Thu Nov 02, 2006 6:52 pm
- Forum: Advanced Help
- Topic: CreateFollowSplineAnimator and IAnimatedMeshSceneNode rotn
- Replies: 3
- Views: 532
No, currently the animator is not able to make the camera look into a direction or play it not looped. But you're invited to add this functionality if you like :) Here's a quick-and-dirty work-around: static core::vector3df previous_position = core::vector3df(0,0,0); //... later, in the main loop s...
- Thu Nov 02, 2006 6:32 pm
- Forum: Advanced Help
- Topic: Getting mesh from node
- Replies: 23
- Views: 2396
- Wed Nov 01, 2006 8:43 pm
- Forum: Advanced Help
- Topic: Getting mesh from node
- Replies: 23
- Views: 2396
IMesh node->GetMesh(0) ; the parameter number is the identifier of the mesh. Only in IAnimatedmeshscenennode class you can use some higher value than 0, so u get mesh on appropriate frame :idea: Yes, something like that would be perfect. Is there any chance this could be added to the main code base...
- Sat Oct 28, 2006 3:30 am
- Forum: Advanced Help
- Topic: Getting mesh from node
- Replies: 23
- Views: 2396
Getting mesh from node
How do I get a mesh from a scenenode? I've loaded a .irr file using sceneMnager->loadScene(). Some of the meshes in the scene are things I want the user to collide with, and other meshes shouldn't affect the user's movement through the scene. I think to myself, "this is easy -- I'll just have a...