how should I do this? what if I need to load the spatial first and then set the collisionshape and the CharacterControl is already created?
setting the collisionshape afterwards would work if I use an empty constructor, but there isnt any setStepHeight method, so I can set this only in the constructor. the character is also just floating on the ground without stopping, even if I press a key only once.
I want to set the collisionshape depending on the spatial for this CharacterControl, but the damn super() constructor need to be called bevor any other code, so it doesnt work for me.