Scaling cube scene nodes.
-
Chris.Bailey
- Posts: 9
- Joined: Thu Aug 14, 2008 7:20 am
Scaling cube scene nodes.
Alright I'm having a bit of a problem when trying to scale cube nodes along the y axis. It would seem that instead of just extend upward as I had planned, they also extend downward. I am reading a list of cube nodes from a struct array and iterating through it to display the cube nodes based on their x/y position in the 2d array and a height value defined in struct. The vertical scale is equal to the "height" of each particular object. The problem is that when the height is more than the default of 1, the resulting object will poke out of the top and bottom of my "grid". I thought I could resolve this by setting the y axis position of each object to it's height divided by 2 because that would keep the bases all lined up but it has no affect. I can't post any code for some reason...I've been trying all day and I just get a bunch of strange php debug errors from the forum. Any help would be appreciated this. =)