This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I'm working on a 3D game and want to re-use some assets, I started scaling and rotating them and collisions stopped working on them.

I saw this issue but it seems that you are not supposed to scale the Collision Shape node, which I'm not doing, I'm scaling the parent scene containing the mesh and collision shape. Is this not possible ?

Godot version v3.4.stable.arch_linux
in Engine by (26 points)

2 Answers

0 votes

Try changing Shape properties of the Collision shape, in my case, it's a Capsule, in your case it might be something else, you'll get the idea.

by (108 points)
0 votes

which I'm not doing, I'm scaling the parent scene containing the mesh and collision shape.

scale is one of the properties that are automatically inherited by child nodes. You can attach a script to the collision shape and in _ready() do set_as_toplevel(true) to prevent it from inheriting the parent's scale but that is NOT something I advise doing with a collision shape since your collisions could potentially be skewed from what they appear to be. Doing so will also make you work in "transformed coordinates" relative to the parent node so it should just be a headache all around.

by (3,906 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.