0 votes

this problem came up in a block building vehicle prototype.

Problem is when the vehicles collide nothing happens. I am using moveandcollide on the kinematic body that is the parent node of all the block child nodes.

I know the problem is that the kinematic body does not contain any direct collisionbody children, since they are all children of block nodes. I am just not sure how to solve this.

Since I have multiple block types, each saved as its own scene, and i load different blocks at runtime depending on the json config file for that vehicle. Since a scene can only have one root node, I need to have a spacial/node/kinematic for each block as the parent. But then my player kinematicbody wont link to those collision bodies in the blocks.

Any ideas?

asked Feb 5 in Engine by Alex Zanfir (14 points)

Please log in or register to answer this question.

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 How to use this Q&A? before posting your first questions.