Topic: Can't convert from short ptr to <nothing>

Hi, Any ideas why I'm getting this error message?

Method getVertexX:Float(surf:IMeshBuffer,index:Int)
    
        Local vertex:S3DVertex=S3DVertex(surf.getIndices().elementAt(index))  'HERE

        Return vertex.getPos().getX()
EndMethod

Re: Can't convert from short ptr to <nothing>

Re: Can't convert from short ptr to <nothing>

Okay thanks Gman, I initially got it going with getVertex, took a while to figure it out though sad