in ork. change the main character I have to change it. as it is written in the instructions. it changes. but falls through terrain. help to solve this problem thanks in advance
Usually this happens when the root position (i.e. the local position X=0, Y=0, Z=0) of the game object (i.e. the combatant's prefab) isn't at the feet but somewhere in the middle of it.
You can either change the root position (either in a 3D program to edit your model or if the prefab is set up badly, directly in the prefab), or use the Spawn Offset setting in the combatant's settings (below where the prefab is defined).
If that's not the case, it can also be the collider or character controller attached to the game object that is missplaced and spawns in the ground (leading to falling through it).
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
thanks for the reply but the problem was character controller .
such a problem-character controller you need to move the unit center X 0 Y 1 Z 0 Y - need change instead of 0 to put 1 where this can be done thanks
When I change a demo ork his character. He appears on earth. but for some reason the controller under the earth. and the character flying through the earth down.
In the character controller. Change Center to 1 and look at it in a scene to make sure it's all right. But are you sure this is your problem and not that you have checked place on ground in some scene?
Just wondering a little wonder why "Place on Ground" is exposed for us to edit in the Spawn Prefab prefab as checking it always means your player will fall through the ground? And it's checked by default. Has caused me a few traumatic moments.
When is it useful? Just a little question mark. : )
It's useful when you want stuff placed directly on the ground, e.g. when spawn points (or item collectors) are placed above the ground. Uses raycast magic ;)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
You can either change the root position (either in a 3D program to edit your model or if the prefab is set up badly, directly in the prefab), or use the Spawn Offset setting in the combatant's settings (below where the prefab is defined).
If that's not the case, it can also be the collider or character controller attached to the game object that is missplaced and spawns in the ground (leading to falling through it).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
but the problem was character controller .
such a problem-character controller you need to move the unit
center X 0 Y 1 Z 0
Y - need
change instead of 0 to put 1
where this can be done
thanks
When I change a demo ork his character.
He appears on earth. but for some reason the controller under the earth.
and the character flying through the earth down.
Just wondering a little wonder why "Place on Ground" is exposed for us to edit in the Spawn Prefab prefab as checking it always means your player will fall through the ground? And it's checked by default. Has caused me a few traumatic moments.
When is it useful? Just a little question mark. : )
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I have everything turned out okay thanks to all