Box not rotating properly...
by Max Thomas · in Torque Game Engine · 12/08/2004 (12:11 pm) · 2 replies
Hello,
I have a quick question this time. I have a box with physics and when I apply impulses to it it spins as though there is a weight on one side of it. It kinda just spins around that side. When it lands it will sometimes roll to that side. I think that this would be the problem...
mass = 150;
massCenter = "0 0 0";
massBox = "0 0 0";
I would assume that mass center would be the center of the object. So, I figure that 0 0 0 is normally the center of a box right... Please help this is really bugging me...
Thanks, Max
I have a quick question this time. I have a box with physics and when I apply impulses to it it spins as though there is a weight on one side of it. It kinda just spins around that side. When it lands it will sometimes roll to that side. I think that this would be the problem...
mass = 150;
massCenter = "0 0 0";
massBox = "0 0 0";
I would assume that mass center would be the center of the object. So, I figure that 0 0 0 is normally the center of a box right... Please help this is really bugging me...
Thanks, Max
#2
12/08/2004 (10:14 pm)
Thanks for posting the fix. That's always strongly encouraged around here. :)
Torque Owner Max Thomas
Oopsey, Max :)