I've been on a year long break from the dark basic community and tools. So first of, I am not sure where to put this thread, the dbpro bug forum, or the dll talk forum.. please move this to its respective place if I made a mistake.
Just recently I decided to pick up where I left on a project of mine and was demotivated to continue once I found out the latest patch available today of dbpro broke the limb intersection commands in dk shop -_-
Is this a known issue that will be fixed? Or do I continue on with U74 where it worked like it should. Not sure if I still have the U74 patch of dbpro on my computer but I'll search the forums for it a bit.
Thank you in advance.
edit,
Here is the intersectLimb demo from dkshop that can verify my issue.
Object = 1
MarkerObject = 2
LimbNumber = 0
Camera = 0
Vec = 1
Make Object Box MarkerObject, 1, 1, 2
Color Object MarkerObject, RGB( 255 ,0, 0 )
Make Object Sphere Object, 10
Position Camera Object Position X( Object ), Object Position Y( Object ), Object Position Z( Object ) - 30
r = Make Vector3( Vec )
Sync Rate 0
Sync On
Do
Control Camera Using ArrowKeys Camera, 0.1, 1
Set Cursor 0, 0
Range# = DK Get Camera Far( Camera )
Pick Screen MouseX(), MouseY(), Range#
startX# = Camera Position X( Camera )
startY# = Camera Position Y( Camera )
startZ# = Camera Position Z( Camera )
toX# = Camera Position X( Camera ) + Get Pick Vector X()
toY# = Camera Position Y( Camera ) + Get Pick Vector Y()
toZ# = Camera Position Z( Camera ) + Get Pick Vector Z()
Distance# = DK Intersect Limb( Object, LimbNumber, startX#, startY#, startZ#, toX#, toY#, toZ# )
Print "Distance to limb: ", Distance#
Set Vector3 Vec, toX# - startX#, toY# - startY#, toZ# - startZ#
Normalize Vector3 Vec, Vec
Multiply Vector3 Vec, Distance#
Position Object MarkerObject, startX# + X Vector3( Vec ), startY# + Y Vector3( Vec ), startZ# + Z Vector3( Vec )
Poly = DK Get Pick Poly()
Print "Picked poly: ", Poly
Print "Poly's normals:"
Print "normal X = ", Get Pick Vector X()
Print "normal Y = ", Get Pick Vector Y()
Print "normal Z = ", Get Pick Vector Z()
Print "normal distance to origin ", Get Pick Distance()
Print
Point Object MarkerObject, Object Position X( MarkerObject ) + Get Pick Vector X(), Object Position Y( MarkerObject ) + Get Pick Vector Y(), Object Position Z( MarkerObject ) + Get Pick Vector Z()
Print "FPS: ", Screen FPS()
angX# = WrapValue( angX# + 0.01 )
angY# = WrapValue( angY# + 0.02 )
angZ# = WrapValue( angZ# + 0.04 )
Rotate Limb Object, 0, angX#, angY#, angZ#
Sync
Loop