[SOLVED] Why 3D lines follow a SceneNode?
[SOLVED] Why 3D lines follow a SceneNode?
I'm using Irrlicht with Bullet 2.82 for simulation. As you can see in the video when I change the position of the SceneNode, the grid follows it, even when I start the simulation.
Last edited by mant on Sun Jul 30, 2017 7:41 pm, edited 3 times in total.
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: Strange: Why 3D lines follow a SceneNode?
Solved. I forgot to do this before drawing the lines:
Code: Select all
irr::core::matrix4 mat;
m_VideoDriver->setTransform(irr::video::ETS_WORLD, mat);
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404