LinePick help

Blitz3D Forums/Blitz3D Programming/LinePick help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

PickedY doesn't return a Distance. It returns a Coordinate. Probably the top level entity of a 3ds is diffrent from the top level entity in the .X File. You should try the following:

a=loadmesh("test.3ds")
print entityx(a)
print entityy(a)
print entityz(a)

b=loadmesh("test.x")
print entityx(b)
print entityy(b)
print entityz(b)

Everything should be Zero. If it's not, then you know the reason for this strange behaviour. You could then check the Hierarchy of the meshes and compare the 2 formats.