hello, i'm having a weird problem when using de drawobjectbounds command with a loaded model, what happens is that when the bounds are drawn they aren't aligned with the object, instead their Y position is greater than objects Y position. The weirdest thing is that the collisions DO work, so the bounds are set in the same place as object, they just seem to be shown in the wrong place.
please help? how can i fix it?
here's the code i wrote to check just that problem, isolated from everything:
sync on
sync rate 60
load object "idle.x",1
sc_setupobject 1,1,2
sc_drawobjectbounds 1
do
sc_updateobject 1
sync
loop
it draws the bounds perfectly when using "make object" so i thought it could be a problem with the model i used in "load object", but i tried with others, including the miko.x model that comes with dbp and the problem persists. so i think it must be something wrong with the coding i guess..
i tried as a complex object, as a box collision, sphere collision, nothing there seams to work. i thought that sc_updateobject might fix it, but not even that.
again, the collisions work, so it's just the bounddrawing.
maybe it's SC version? its v 2.05
dark basics version is:
editor: build oct 8 2009
compiler: v 1.074