Game Development Community

Making physical objects

by CoderT · in Torque 3D Beginner · 11/19/2012 (3:54 am) · 3 replies

Hi,

Using the "Sketch Tool" in the editor I created a simple box, then stretched it out a bit.

Now my problem is that through large parts of it I can talk, as if its not there. I can not "physical".

Only a very small portion, the exact size when I place it before I stretched it, is "physical". In turns of I can't walk through it.

So my question is, how do I make it "physical"? So I can't just walk through it and can jump on it etc.

I guess it must be a simple.


Thanks.

#1
11/20/2012 (2:39 pm)
If your placing it as a TSStatic object, you need to change the 'collisionType type' to 'Visible Mesh' in the object properties

www.deadlyassets.com/Pic/TSStatic.jpg
#2
11/21/2012 (6:47 am)
Thanks for the reply.

How do I place it as a TSStatic object though?

Using the sketch tool it creates a "ConvexShape" and thats all I have.
#3
11/21/2012 (1:58 pm)
oops, sorry misread your question.

strange as far as I'm aware ConvexShape's are or should be physical

I don't seemto be able to recreate your problem with ConvexShape, any chance of a screenshot or can you type the info from inspecting the object?

By the way, you can convert it to a TSStatic by selecting the ConvexShape in the Scene tab then in the 'File' menu select 'Export to COLLADA...' put it into 'art/shapes/' 'directory and name it whatever you want to 'box' is a good name :)

then you can in the 'Scene' area choose 'Library' tab and 'Meshes' tab, select 'art/shapes/' (or wherever you put it) you should see your new TSStatic there, double click it to place it in the scene, you may have to move it out of the ground. you can then change its collisionType and decalType to Visible Mesh.

that dosn't find why your ConvexShapes aren't colliding properly but it may help :-)