Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

inheritance and collision shape #26

Open
bloodre opened this issue Jul 30, 2017 · 0 comments
Open

inheritance and collision shape #26

bloodre opened this issue Jul 30, 2017 · 0 comments
Labels
Milestone

Comments

@bloodre
Copy link
Collaborator

bloodre commented Jul 30, 2017

Here is an example:
The pickable_item scene has a given collision shape fitting a crate. Heal_item should have a smaller collision shape to cover the carrots. I changed this collision shape in heal_item.tscn to fit the carrot.

Once the game runs, by shooting at the heal_item, I can observe the hitbox is still the crate's one.

The only fix I found was removing the inheritance which isn't practical.. I found this:
godotengine/godot#8103
But it either doesn't do the trick or I failed to apply it correctly.

@bloodre bloodre added the bug label Jul 30, 2017
@CBenoit CBenoit added this to the Alpha milestone Sep 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants