Question about 3d objects and layers
by USC - IMD student 9 · in Torque Game Builder · 09/14/2007 (7:42 pm) · 1 replies
I know TGB has limited support for displaying and using 3D assets, but I want to know if something's possible before I waste too much time with it ->
I'm building a top-down game and I want to use some 3D assets for the architecture so that I can have that lovely subtle perspective change when the camera scolls past them (like in Pokemon Diamond)
Is this something I can do given the limitations of the 3D use in TGB? I realllllly don't want to go to TGE for something that's purely cosmetic.
Second part to that if the first part is yes... Is there a way I can have things like arches that can be walked underneath?
I'm building a top-down game and I want to use some 3D assets for the architecture so that I can have that lovely subtle perspective change when the camera scolls past them (like in Pokemon Diamond)
Is this something I can do given the limitations of the 3D use in TGB? I realllllly don't want to go to TGE for something that's purely cosmetic.
Second part to that if the first part is yes... Is there a way I can have things like arches that can be walked underneath?
Torque Owner John McArthur
Next, I think you can have arches to walk under but it will rely on Y axis layer sorting and multiple collision objects. Here's an image of sorting by y axis at work: www.garagegames.com/products/90/images/?current=7
The left picture shows what happens when the sort point is the midpoint. The right pic shows what happens with y axis layer sorting AND the point moved towards the base of the object.
You will need to 2 collision objects around each base of arch.
Hope that helps.