Dont know if this is a bug, but I add a cube at 0,0,0 with the size of 1,1,1
and then draw a rect at 0,0,0 with size of 1,1... seems like that the center of the cube is at 0,0,0 and not
the left/down corner of the cube ... a bug or ?
[no bug]addCubeSceneNode and draw3DLine
[no bug]addCubeSceneNode and draw3DLine
Build A World -> http://www.buildaworld.net/
Build A World EDU -> http://edu.buildaworld.net/
BAW on Facebook -> http://www.facebook.com/BuildAWorld.net
BAW on YouTube -> http://www.youtube.com/user/wwwbuildaworldnet/videos
Build A World EDU -> http://edu.buildaworld.net/
BAW on Facebook -> http://www.facebook.com/BuildAWorld.net
BAW on YouTube -> http://www.youtube.com/user/wwwbuildaworldnet/videos
Re: addCubeSceneNode and draw3DLine
Center of cube at 0,0,0 would be what I expect without reading documentation. So I guess it was deliberate (only guessing myself, but I think it is ok this way).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: addCubeSceneNode and draw3DLine
Yeah, cube node is basically used for marking certain places, and that's easier if the center is at (0,0,0)