Item based object scale not working for collisions
by Phil Carlisle · in Torque Game Engine · 11/19/2005 (5:28 am) · 0 replies
Hi Guys,
I've just tried this off of a build with 1.4 from CVS, so I'm sure up to date.
Go into the starter.fps and create an item based object.. Make sure you can collide with it (make sure say onPickup works).
Then go into the world editor and scale the object up or down by a large amount.
Then notice that the new object although scaled down, actually collides with the original scaled collision box?
Does this happen for other shapebase objects too? or is it localised to just Items I wonder.
I remember this kind of thing happening in the distant past, but I dont recall this happening anytime recently until I noticed it the other day.
Anyone got any idea of whether this WAS fixed before? Or am I imagining things and that this always worked that waY?
I guess I should dig up the code thats doing the collisions, but from my quick check, the mObjScale was set correctly and seemed to be being applied.
Anyone else noticed this?
I've just tried this off of a build with 1.4 from CVS, so I'm sure up to date.
Go into the starter.fps and create an item based object.. Make sure you can collide with it (make sure say onPickup works).
Then go into the world editor and scale the object up or down by a large amount.
Then notice that the new object although scaled down, actually collides with the original scaled collision box?
Does this happen for other shapebase objects too? or is it localised to just Items I wonder.
I remember this kind of thing happening in the distant past, but I dont recall this happening anytime recently until I noticed it the other day.
Anyone got any idea of whether this WAS fixed before? Or am I imagining things and that this always worked that waY?
I guess I should dig up the code thats doing the collisions, but from my quick check, the mObjScale was set correctly and seemed to be being applied.
Anyone else noticed this?
About the author