Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Advanced Import Setting, create Collision Shape is not centered on object if origin is off center. #91755

Open
Nodragem opened this issue May 9, 2024 · 0 comments

Comments

@Nodragem
Copy link

Nodragem commented May 9, 2024

Tested versions

4.3dev6

System information

Godot v4.3.dev6 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 31.0.15.4626) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)

Issue description

explorer_iXYxUcO2Qp

The collision box is centered on the object's origin (which is at the bottom center), rather than the object's center.

Note: the origin of the asset is at the bottom center, for easy placement.

Steps to reproduce

Import an asset with an origin that is offset from the center of the object.
Go to Import > Advanced > Check the Physics checkbox > add a box collision shape.

Minimal reproduction project (MRP)

I can download the asset, but basically Kaykit Prototype Bits should work to replicable the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants