Hi All,
This may be for the bug forum, but I am thinking perhaps I am missing something that was already explained since it affects at least two similar commands.
CameraLocate and EntityLocate both fail to compile, as the compiler complains they are not declared.
I tried the same code back in 5.00, and it worked fine there.
If I use CameraMove instead of Locate, it works fine in the beta, but of course that is relative, and I am looking for global placement.
I did check that I was using the new dll with the beta, and the old dll with 5.00.
Is there a new way to do this, or is this indeed a bug in the new beta that these commands are unknown to the compiler?
BTW, I did not check for other XXXXXLocate commands, so this may affect others as well.
Thanks,
Dave
CameraLocate and EntityLocate in 5.10b1
Re: CameraLocate and EntityLocate in 5.10b1
They have been removed. You need to use the MoveXXX() command, with the #PB_Absolute flag.
Re: CameraLocate and EntityLocate in 5.10b1
Thanks Fred
Re: CameraLocate and EntityLocate in 5.10b1
i have a problem, if i replace all my ObjectLocate() to MoveObject(, #PB_Absolute) my Game don't work.
Both commands are really identical?
Some Entitys stays on 0,0,0 and other objects move relative and fly away.
I can not reproduce the problem in a small code, but i think it is a problem with Bones, if the object is attach on a bone.
ObjectLocate() worked relative to the Bone coordinates, MoveObject(, #PB_Absolute) worked in world coordinates?
Edit: Sry, I still had the Engine3D.dll of version PB5.0 in my game folder.
With the right DLL of PB 5.10 it works!
Both commands are really identical?
Some Entitys stays on 0,0,0 and other objects move relative and fly away.
I can not reproduce the problem in a small code, but i think it is a problem with Bones, if the object is attach on a bone.
ObjectLocate() worked relative to the Bone coordinates, MoveObject(, #PB_Absolute) worked in world coordinates?
Edit: Sry, I still had the Engine3D.dll of version PB5.0 in my game folder.
With the right DLL of PB 5.10 it works!
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module