DTS Objects and castRay
by Michael Bacon · in Torque Game Engine · 08/21/2007 (5:15 am) · 2 replies
Hello,
I'm a newbie here and with Torque in general. Please forgive me if the answer to my questions are covered elsewhere. I have searched and haven't been able to find them.
We are using Maya to create our 3d objects. Without very good reason I do not have the power to change this.
So as far as I can tell we cant really make interior objects with Maya (please correct me).
Our world is a very simple environment. It consists of a pretty much rectangular arena backed by buildings on all sides. Due to the level of detail desired in these objects the ground and buildings are all DTS objects. Can we get the level of detail we want here with interiors? For the ground probably. For the buildings, I think not.
Anyways, to get to the point..
We have placed our ground and buildings and constructed our area. The player walks on the ground and collides with the buildings. However I cannot for the life of me get a raycast to collide with these objects. I have tried all combinations of collision masks to no avail.
Do we need to make another copy of the collision data and rename it LOSCol_* or whatever?
I am assuming this is a problem in our models as raycasts collide with (for example) the TorqueLogo object just fine.
How do I go about figuring this out?
I'm a newbie here and with Torque in general. Please forgive me if the answer to my questions are covered elsewhere. I have searched and haven't been able to find them.
We are using Maya to create our 3d objects. Without very good reason I do not have the power to change this.
So as far as I can tell we cant really make interior objects with Maya (please correct me).
Our world is a very simple environment. It consists of a pretty much rectangular arena backed by buildings on all sides. Due to the level of detail desired in these objects the ground and buildings are all DTS objects. Can we get the level of detail we want here with interiors? For the ground probably. For the buildings, I think not.
Anyways, to get to the point..
We have placed our ground and buildings and constructed our area. The player walks on the ground and collides with the buildings. However I cannot for the life of me get a raycast to collide with these objects. I have tried all combinations of collision masks to no avail.
Do we need to make another copy of the collision data and rename it LOSCol_* or whatever?
I am assuming this is a problem in our models as raycasts collide with (for example) the TorqueLogo object just fine.
How do I go about figuring this out?
Torque Owner Scott Evernden