Closed samanthabeilman closed 4 months ago
You need to use xform
This is to match the behaviour in C++, see https://github.com/godotengine/godot-cpp/issues/1222#issuecomment-1686613171
Thank you for reporting
This is to match the behaviour in C++, see #1222 (comment)
Thank you for reporting
Thank you for your time and the reference! Have a great day. :)
Godot version
v4.1.4.stable.official
godot-cpp version
v4.1.4.stable.official
System information
Windows 11
Issue description
Multiplying a Quaternion and Vector3 should result in a Vector3, but it is returning a Quaternion. https://docs.godotengine.org/en/stable/classes/class_quaternion.html#class-quaternion-operator-mul-vector3:~:text=Vector3%20operator%20*%20(%20Vector3%20right%20)
The following error is encountered when compiling with SCons:
I am still a student, and it is definitely possible that I have made a mistake or misunderstood how to use these data types, so any help is appreciated! This is my first time doing a Bug Report, so I apologize if I haven't done everything 100% correctly. :)
Steps to reproduce
I have tried a few variations, but the simplest is to add the one-liner to any function. The headers used are included as well.
(using namespace godot if you are not already)
Minimal reproduction project
N/A