Righty then...
- What im doing is pretty simple..
- i have a mesh used as the visible game object
- another much simpler mesh used in collisions
- and a pivot used in collisions...
The first collision test involves assigning a radius
to the pivots - if two pivots collide - i know that a
sphere to sphere collision has occurred + can now test
whether or not the relevant meshes intersect...
So what i need to do is find out which actor instances these
pivots belong to + use the collision meshes for those actors
in the meshintersect test...
Given that most collisions will be quads to collision
meshes..and the meshes are very low poly..the test doesnt
really cause much slowdown...
anyway...the point is...
- is there a fast way of determining which actor instance
- the pivot belongs to? [actors are new type instances]
- i dont want to scan the list every time..hmmm
I could create an array indexed by pivot handle - but this
is wasteful..is there an alternative???
I hope someone understands what im trying to say here :/
matt/defoc8
- What im doing is pretty simple..
- i have a mesh used as the visible game object
- another much simpler mesh used in collisions
- and a pivot used in collisions...
The first collision test involves assigning a radius
to the pivots - if two pivots collide - i know that a
sphere to sphere collision has occurred + can now test
whether or not the relevant meshes intersect...
So what i need to do is find out which actor instances these
pivots belong to + use the collision meshes for those actors
in the meshintersect test...
Given that most collisions will be quads to collision
meshes..and the meshes are very low poly..the test doesnt
really cause much slowdown...
anyway...the point is...
- is there a fast way of determining which actor instance
- the pivot belongs to? [actors are new type instances]
- i dont want to scan the list every time..hmmm
I could create an array indexed by pivot handle - but this
is wasteful..is there an alternative???
I hope someone understands what im trying to say here :/
matt/defoc8