0 votes

I am getting an error 'Script inherits from native type Kinematic body, so it can't be instanced in an object of type Spatial whilst making a character contrller script.
The character root itself is a kinematic, but seems to be a child of the Spatial called Level.
How can I unparent the character from the level?


second try screencap

image link

asked Jul 18, 2019 in Projects by S7u (14 points)

1 Answer

+1 vote

Somewhere in your project is a script that inherits KinematicBody but is attached to a Spatial node. Perhaps that script on the Tiny Robot?

answered Jul 18, 2019 by MallNinjaMax (60 points)

Thank you so much.
So basically the problem was being caused by the script on the other character present besides the one I was focusing on and trying to debug.

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.