CDPR-Modding-Documentation / CDPR-Modding-Documentation/REDkit-bugtracker

[Mesh Exporting] Collisions from mesh is scaled to 0.01

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Blender plugin REDkit
Dominant language
No language data
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When exporting a mesh to fbx, the scale of the collision mesh is scaled to 0.01, requiring the end-user to scale the mesh by a factor of 100.

Steps to reproduce the behavior:
1. Export any mesh with a collision mesh
2. Open the mesh in Blender
3. Select the mesh_tri mesh
4. Press S (scale) and type 100
5. Export
6. Reimport in-engine, the mesh will be scaled correctly, if process in 4 isn't done, it will be incorrectly sized.

**Expected behavior**
Exporting should be in the correct size.

![Image](https://github.com/user-attachments/assets/7d8d8b5c-4eb3-4029-8acb-19755c76d5fa)

![Image](https://github.com/user-attachments/assets/fce27bfd-7221-44d3-87c7-b8b6268a7076)

![Image](https://github.com/user-attachments/assets/d98613aa-02a4-41fa-a3ae-a2f3ebfa9933)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the export in REDkit, then inspect the collision mesh in Blender and compare its scale with the source mesh. Verify that the exported collision mesh is correctly sized without the manual 100x adjustment, and confirm the corrected asset reimports at the expected size.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.