Game Development Community

Collission Mesh for Static Shape

by Robert Simpson · in Artist Corner · 03/16/2006 (12:30 pm) · 2 replies

I followed the steps to create a col-1 box of collission, a collission-1 dummy and our main object we want to collide with. I set up my heirarchy tree as shown and everytime I try to export I recieve the following dump.

Optimizing meshes...

Optimizing mesh "Box" detail level 2.
36 verts before joining verts
computeNormals numFrames=1 vertsPerFrame=24 faces.size()=12.
24 verts after joining verts
12 faces before stripping
Using quick and dirty stripping method.
6 strips with average length 4.00 (range 4 to 4) and 0 reversals
Results in 24 cache misses

Optimizing mesh "col" detail level -1.
36 verts before joining verts
computeNormals numFrames=1 vertsPerFrame=24 faces.size()=12.
24 verts after joining verts
12 faces before stripping
Using quick and dirty stripping method.
6 strips with average length 4.00 (range 4 to 4) and 0 reversals
Results in 24 cache misses

Shape Hierarchy:

Details:
detail2, Subtree 0, objectDetail 0, size 2
collission-1, Subtree 0, objectDetail 1, size -1

Subtrees:
Subtree 0
Box2 --> Object Box with following details: 2
col-1 --> Object col with following details: -1

Sequences:

Material list:
material #0: "grass".

I am just doing this on a basic box primitive and cannot get any sort of collission to work. It does export the shape, there is just no collission. I was wondering how I can fix this, and what the problem is? Thanks

#1
03/16/2006 (12:49 pm)
Collission-1 is mispelled, try "collision-1"

So your hierarchy should be
:::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::[Base01]::[Bounds]:::::::
:::::::::::::::::::|::::::::::::::::::::::::::
[detail2]----[start01]----[collision-1]::
:::::::::::::::::::|::::::::::::::::::::::::::
:::::::::::::::[Box2]----[col-1]::::::::::
::::::::::::::::::::::::::::::::::::::::::::::

[edit]Dumb spaces don't get posted correctly...