System Information:
OS: Windows 11 Home 23H2
CPU: Intel i5-8300H @ 2.30GHz
Date First Experienced: 3/22/2025
Date Last Experienced: 3/22/2025
Issue:
When running the exact same CFrame math on the client, and on Roblox servers specifically, the server produces slightly different information.
Reproduction Steps:
- Create a LocalScript and a server Script
- Set contents of both scripts to the code provided below
- Publish place
- Join place and open developer console to compare results
local viewAngles = Vector2.new(41.1198654, -50.4001579)
local moveDirectionObjectSpace = Vector3.new(0, 0, -1)
print('RESULT:', CFrame.fromEulerAnglesYXZ(0, math.rad(viewAngles.X), 0):VectorToWorldSpace(moveDirectionObjectSpace))
Video of the issue:
Place File I published:
math-bug-repro.rbxl (57.1 KB)
Expected behavior
Expected Behavior:
The server and client should get exactly the same results from the code, as it is for other types of math.