Z Elevation: does it scale collisions?

For questions about using Classic.

Post » Tue Nov 16, 2010 3:17 pm

What does changing z elevation do exactly?
Does it scale the sprite's size as well as it's collision area (regardless of whether I'm using bounding box, per pixel collision, etc.)?
What is the scale factor for each camera distance value? I would like to know exactly how big a certain sprite will be under the different possible camera distances (a mathematical function would be the best answer I guess). Thanks.
B
5
S
1
G
3
Posts: 59
Reputation: 993

Post » Tue Nov 16, 2010 8:00 pm

Z Elevation just changes the visual distance the object is from the camera. Collisions aren't scaled when the Z Elevation is changed. You can change the camera distance with the application property "Eye Distance (3d)". Z Elevation can effect the draw order of objects if the layer property "3d layering" is enabled. An object will appear to be double size if it's Z Elevation is half the eye distance.
B
79
S
24
G
54
Posts: 4,753
Reputation: 40,769


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests