Game Development Community

The Problem about The T3D Staticshape Collision

by sworderman · in Torque 3D Professional · 12/06/2015 (9:20 pm) · 2 replies

Hi, I'm learning the T3d Script these Days. Want to Creat the StaticShape Class, We can Control to play any sequence with Collision.

1, I create A Model with Blender. Set Sequence animation, And Creat A Collision-1[Col-1 with a mess box]

2, I Import the Dae File to T3D.

3, In T3D, I create to model. one model use the TSstatic. Another use the StaticShape.[I create the datablock]

4, I testrun the game. And make sure the shapeEdit is set correct.

When I control My player run to the TSstatic model. I found the collision is OK. The Player can't pass through the TSstatic model.

But The StaticShape model, The player can pass through it.

I don't know Where the Problem is.

And I have see the The Property [Collision Type] in TSstatic. But I can't find the property in StaticShape.

How to set the script, I just want to create a model with collision and I can control the model to play Thread.

Thanks.



#1
12/07/2015 (5:51 am)
StaticShape requires explicit collision geometry if I recall.

http://www.garagegames.com/products/torque-3d/documentation - navigate to Artist Guilde > Primer > Torque Art Primer and look under Collision Geometry. Additionally, see http://docs.garagegames.com/torque-3d/official/content/documentation/World%20Editor/Editors/ShapeEditor.html to add collision geometry in the Shape Editor (inside the T3D Editor).
#2
12/10/2015 (12:22 am)
Thank you.