I don't know if this has been discussed before:
CameraPick function is not working with animated .X models
CameraPick function is not working with animated .X models
; LoadMesh Example ; ---------------- Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() light=CreateLight() RotateEntity light,90,0,0 model% = LoadMesh("mak_running.x") If model <> 0 Then PositionEntity camera,0,0,-MeshDepth(model)*3 FreeEntity model ; Load mesh animmodel% = LoadAnimMesh("mak_running.x") EntityPickMode animmodel, 2 Animate animmodel While Not KeyDown( 1 ) RenderWorld UpdateWorld If CameraPick(camera, MouseX(), MouseY()) Then Text 0,0, "Picked" Flip Wend End