GuvaCode / ray4laz

A complete header translation (binding) of the raylib 5.0 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
https://www.raylib.com/
zlib License
98 stars 18 forks source link

BindPose/FramePoses Rotation not working #13

Closed ghost closed 2 years ago

ghost commented 2 years ago

Anyone else experiencing this issue on Windows? Any leads on what might be the culprit?

ghost commented 2 years ago

Looks to be a raylib issue and UpdateMeshBuffer seems to be the way to go for deforming a mesh.

GuvaCode commented 2 years ago

Looks to be a raylib issue and UpdateMeshBuffer seems to be the way to go for deforming a mesh.

FModel.transform:=MatrixRotateXYZ(Vector3Create(DEG2RADFAxisX,DEG2RADFAxisY,DEG2RAD*FAxisZ))

ghost commented 2 years ago

I should have specified that I want to rotate the bones associated with specific vertices of a mesh and there seems to be an issue where a mesh does not transform with the skinning when bones are manipulated.

GuvaCode commented 2 years ago

Okay. Then we should check with the author of raylib