![]() Offset is used to define the KCC local position based into the entity position.The DefaultCharacterController3D Config Asset.Ī brief explanation into the Config fields Here is how the 3D KCC config looks like: The default 2D and 3D KCC Config assets are located inside the Assets/Resources/DB/Configs folder. (editor) add the CharacterControllerConfig to the Config slot in the Character Controller component.Ĭreate your own KCC config asset via the context menu under Create > Quantum > Assets > Physics > CharacterController2D/3D.(code) the Init() method with parameter, it will load the passed in CharacterControllerConfig.(code) the Init() method without parameter, it will load the DefaultCharacterController from Assets/Resources/DB/Configs. ![]() The component has to be initiliazed after being created. Var kccConfig = FindAsset(KCC_CONFIG_PATH) To add the Character Controller via code, follow the examples below. The Character Controller 2D and 3D components attached to an Entity Prototype in the Unity Editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |