WolvenKit / Cyberpunk-Blender-add-on

The Cyberpunk add-on for Blender bridges complex game assets with Blender.
66 stars 17 forks source link

Entities with incorrect placement of their parts #122

Closed Ametis81 closed 2 months ago

Ametis81 commented 2 months ago

When importing entities that have animated parts (etc, lids, doors), they are placed incorrectly. This can also be noticed directly in WK when previewing such entities

Import locker_medium_neomilitary.ent into Blender. That is how its gonna look like:

изображение_2024-03-09_160335711 As you can see the door has its own pivot point and it's different

That's how you can see such entities in WK:

изображение_2024-03-09_160527441

Simarilius-uk commented 2 months ago

thanks for the report, will take a look

Ametis81 commented 2 months ago

Other examples:

safe_medium.ent
disposal_device_crate.ent
ammo_case_small.ent
common_suitcase_small.ent
crate_small.ent
cupboard_small.ent
Ametis81 commented 2 months ago

locker_medium_neomilitary.ent

If we use coordinates from this section on animated part (door) it will be in correct place

изображение_2024-03-09_170358329

image

But it's not the same for all ent files. As for safe_medium.ent we got that section in save_medium.app

image

Simarilius-uk commented 2 months ago

image Fixed. might look at generating a constraint to let you rotate them, but the positioning is done

Simarilius-uk commented 2 months ago

Closed by dd18633.