Vehilces and the mission editor
by Dave Sharp · in Torque Game Engine · 04/03/2002 (6:48 pm) · 1 replies
Does anyone know what the red and blue boxes represent around an object in the editor. Most things have a 'default' yellow box around them but when I add my vehilce to the engine and try to position it I either get a blue or a red box around it.
Just for reference. It's a HoverVehilceClass. semi-copied from both the water vehilce 'Zodiac' and the 'Grav Cycle' (ala Tribes 2). It took us some hard lessons to figure out how to add a vehilce and to get it to exsist in the editor as a non-static shape but we got that.
I'm just wondering what the two colored boxes represent.
BTW: I've noticed that the red boxes 'outline' the vehilce's alignment to the ground. But the silly thing slides downhill on it's own.
Dave
Just for reference. It's a HoverVehilceClass. semi-copied from both the water vehilce 'Zodiac' and the 'Grav Cycle' (ala Tribes 2). It took us some hard lessons to figure out how to add a vehilce and to get it to exsist in the editor as a non-static shape but we got that.
I'm just wondering what the two colored boxes represent.
BTW: I've noticed that the red boxes 'outline' the vehilce's alignment to the ground. But the silly thing slides downhill on it's own.
Dave
Torque 3D Owner Joel Baxter
It looks like ShapeBase objects in general use maroon to show the client-side rendering object box, and cyan to show the server-side box, and a bunch of stuff in maroon for any mounted images. Vehicles add a lot more things in various colors, but I don't see red being used (and I don't have the ability right now to spawn a vehicle and test it, sorry).
As for yellow, that seems to be used for the edges of the convex hull of a vehicle, or for the "working query box" for collision detection for a player.