Z Elevation and bounding box

For questions about using Classic.

Post » Thu Jun 18, 2009 8:38 am

Suppose this belongs here, as it is not really a bug, but more of a ... troubling issue.

Basically, the bounding box seems to remain the same when object changes Z elevation. Say, at Z elevation of -1000, the object appears tiny, however the bounding box still retains the same dimensions as at elevation of 0.

Which gets messy when determining overlapping, you know, using a mouseover and such. Suppose one wants to scale an object resting at -1000 elevation up with a mouseover, however if its original bounding box remains the same, it activates even when the mouse is still far from the tiny sprite.

A cosmetic issue, no doubt; sprite overlapping wouldn't pose a problem at all, but it is the mouse that we are concerned about.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Thu Jun 18, 2009 2:21 pm

Really? I'm sure I tested this to make sure the box was around the visible object, not where it would be at Z=0. Can you upload a .cap showing this?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Jun 18, 2009 2:35 pm

B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests