Game Development Community

Adding collideable object via editor

by CSUMB (#0032) · in Torque Game Engine · 03/06/2005 (7:57 pm) · 1 replies

Hi All,

What is the secret to making a static_shape collideable.
What I mean by collideable is that I can't walk trough the object.
(I don't necessarily want to trigger an ::onCollision() function).

I followed the codesampler example with the tree. The
tree truck collides with the player and I can't go trough it.

However, when we (it is a group project) export a model from Max or
Maya and insert it as a static-shape we don't collide with it, we simple
walk right through the object.

We have defined the bounding box and exported that too.

What do we need to do to make it such that the player can't walk
through our static objects. I'm sure it is something simple, but
we must be missing it. Is this a property of the model?

What are we doing wrong in Maya or Max? We follow the directions
for converting our files to dts. . . .

-Michael