cocos-engine
cocos-engine copied to clipboard
PhysicsRayResult.hitNormal wrong
Cocos Creator version
3.7.0
System information
Mac editor
Issue description
When using Bullet Based Physics System, hitNormal always (0, 0, 0).

When using the PhysX engine, hitNormal has a slight offset.

Is it normal that switching the physics engine requires a restart of the editor?
Relevant error log output
No response
Steps to reproduce
- Use Gizmo to print hitNormal's rays to see the results.
Minimal reproduction project
I don't quite understand the issue.