Hey all, this has been really bugging me.
When I try to delete an object that's been made static to, say, open a secret passageway, I can clearly see the opening, but can't get through because the collision box is still there!!
I tried not making the object static, but that resulted in a little texturing glitch for some reason.
Is there anyway to delete an object that has code like this?
load object "wall.x",2 : scale object 2, 200,200,200 : position object 2, 10,20,50
make static object 2
objx#=object position x(2)
objy#=object position y(2)
objz#=object position z(2)
objsx#=object size x(2)/0.2
objsy#=object size y(2)/0.2
objsz#=object size z(2)/0.2
make static collision box objx#-objsx#,objy#-objsy#,objz#-objsz#,objx#+objsx#,objy#+objsy#,objz#+objsz#
Here's how I try to delete the object:
if object collision (3,4) then delete object 2
Object 4 is the thing you have to do to open the passage, like say a sledgehammer is 3, the certain object is 4 and the wall is 2. See?
But like I said, there's still the invisible collision box. VERRY annoying!!
Can someone please help me out?
Yodaman Jer